Shape.Line Property
Word Developer Reference |
Returns a LineFormat object that contains line formatting properties for the specified shape. Read-only.
Syntax
expression.Line
expression A variable that represents a Shape object.
Remarks
For a line, the LineFormat object represents the line itself; for a shape with a border, the LineFormat object represents the border.
Example
This example adds a blue dashed line to myDocument.
Visual Basic for Applications |
---|
|
This example adds a cross to myDocument and then sets its border to be 8 points thick and red.
Visual Basic for Applications |
---|
|
See Also