LeaderLines Interface
Represents leader lines on a chart. Leader lines connect data labels to data points.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
<GuidAttribute("36162C62-B59A-4278-AF3D-F2AC1EB999D9")> _
Public Interface LeaderLines
'Usage
Dim instance As LeaderLines
[GuidAttribute("36162C62-B59A-4278-AF3D-F2AC1EB999D9")]
public interface LeaderLines
Remarks
This object isn’t a collection; there’s no object that represents a single leader line.
This object applies only to pie charts.
Examples
Use the LeaderLines property to return the LeaderLines object. The following example adds data labels and blue leader lines to series one on the first chart in the active document. If no leader lines are visible this example code will fail. In this situation, you can manually drag one of the data labels away from the pie chart to make a leader line show up.