LeaderLinesFormat

IDataLabelCollection.LeaderLinesFormat property

Represents data labels leader lines format. Read-only IChartLinesFormat.

public IChartLinesFormat LeaderLinesFormat { get; }

Examples

Example:

[C#]
using (Presentation pres = new Presentation("pres.pptx"))
{
    IChart chart = (IChart) pres.Slides[0].Shapes[0];
    IChartSeriesCollection series = chart.ChartData.Series;
    IDataLabelCollection labels = series[0].Labels;

    labels.LeaderLinesFormat.Line.FillFormat.FillType = FillType.Solid;
    labels.LeaderLinesFormat.Line.FillFormat.SolidFillColor.Color = Color.FromArgb(255, 255, 0, 0);
}

See Also