LeaderLines Interface

Definition

Represents leader lines on a chart. Leader lines connect data labels to data points.

public interface class LeaderLines
[System.Runtime.InteropServices.Guid("36162C62-B59A-4278-AF3D-F2AC1EB999D9")]
public interface LeaderLines
type LeaderLines = interface
Public Interface LeaderLines
Attributes

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.

Remarks

This object isn’t a collection; there’s no object that represents a single leader line.

This object applies only to pie charts.

Properties

Application

When used without an object qualifier, this property returns an _Application object that represents the Microsoft Word application. When used with an object qualifier, this property returns an Application object that represents the creator of the specified object (you can use this property with an OLE Automation object to return the application of that object). Read-only.

Border

Returns a ChartBorder object that represents the border of the object. Read-only.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Integer.

Format

Returns the line, fill, and effect formatting for the object. Read-only ChartFormat.

Parent

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

Methods

Delete()

Deletes the object.

Select()

Selects the object.

Applies to