Class LineFormat (PowerPoint 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 and Shape. give access to class LineFormat


Dim lft as LineFormat
Set lft = ActiveWindow.RangeFromPoint.Line

Properties

BackColor returns or sets a ColorFormat object that represents the background color for the specified fill or 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 fill, line, or shadow.

InsetPen determines whether to draw lines on the inside of a specified shape.

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

Style returns or sets the line style.

Transparency returns or sets the degree of transparency of the specified fill, shadow, or line as a value between 0.0 (opaque) and 1.0 (clear).

Visible returns or sets the visibility of the specified object or the formatting applied to the specified object.

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

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