Class LineFormat (Word VBA)

The class LineFormat represents line and arrowhead formatting. For a line, the LineFormat object contains formatting information for the line itself; for a shape with a border, this object contains formatting information for the shape's border.

The classes ChartFormat, Font, InlineShape and Shape. give access to class LineFormat


Dim lft as LineFormat
Set lft = Selection.Font.Line

Properties

BackColor returns or sets a ColorFormat object that represents the background color for a patterned line.

BeginArrowheadLength returns or sets the length of the arrowhead at the beginning of the specified line.

BeginArrowheadStyle returns or sets the style of the arrowhead at the beginning of the specified line.

BeginArrowheadWidth returns or sets the width of the arrowhead at the beginning of the specified line.

DashStyle returns or sets the dash style for the specified line.

EndArrowheadLength returns or sets the length of the arrowhead at the end of the specified line.

EndArrowheadStyle returns or sets the style of the arrowhead at the end of the specified line.

EndArrowheadWidth returns or sets the width of the arrowhead at the end of the specified line.

ForeColor returns or sets a ColorFormat object that represents the foreground color for the line.

InsetPen msoTrue to draw lines inside a specified shape.

Pattern returns or sets a value that represents the pattern applied to the specified line.

Style returns or sets the line format style.

Transparency returns or sets the degree of transparency of line.

Visible true if the specified object, or the formatting applied to it, is visible.

Weight returns or sets the thickness of the specified line in points.

ColorFormat - Represents the color of a one-color object or the foreground or background color of an object with a gradient or patterned fill. You can set colors to an explicit red-green-blue value by using the RGB property.