Class DropLines (Word 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 = ActiveDocument.Background.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 = ActiveDocument.Background.Chart.ChartGroups(1).DropLines.Border

Delete

Deletes the object.

ActiveDocument.Background.Chart.ChartGroups(1).DropLines.Delete

Format

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

Dim cftFormatted As ChartFormat
Set cftFormatted = ActiveDocument.Background.Chart.ChartGroups(1).DropLines.Format

Name

Returns the name of the object.

Dim strName As String
strName = ActiveDocument.Background.Chart.ChartGroups(1).DropLines.Name

Parent

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

Dim objParent As Object
Set objParent = ActiveDocument.Background.Chart.ChartGroups(1).DropLines.Parent

Select

Selects the object.

ActiveDocument.Background.Chart.ChartGroups(1).DropLines.Select