Class DropLines (Word VBA)
The class DropLines represents the drop lines in a chart group. 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
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
Select
Selects the object.
ActiveDocument.Background.Chart.ChartGroups(1).DropLines.Select