Class DropLines (PowerPoint VBA)

The class DropLines represents the drop lines in a chart group.

Set

To use a DropLines class variable it first needs to be instantiated, for example

Dim dls as DropLines
Set dls = ActiveWindow.RangeFromPoint.Chart.ChartGroups(1).DropLines

DropLines class variables can be set using the ChartGroup.DropLines procedure.

Border

Returns the border of the object.

Dim cbrBorder As ChartBorder
Set cbrBorder = ActiveWindow.RangeFromPoint.Chart.ChartGroups(1).DropLines.Border

Delete

Deletes the object.

ActiveWindow.RangeFromPoint.Chart.ChartGroups(1).DropLines.Delete

Format

Returns the line, fill, and effect formatting for the object.

Dim cftFormatted As ChartFormat
Set cftFormatted = ActiveWindow.RangeFromPoint.Chart.ChartGroups(1).DropLines.Format

Name

Returns the name of the object.

Dim strName As String
strName = ActiveWindow.RangeFromPoint.Chart.ChartGroups(1).DropLines.Name

Parent

Returns the parent for the specified object. Read-only object.

Select

Selects the object.

ActiveWindow.RangeFromPoint.Chart.ChartGroups(1).DropLines.Select