LeaderLinesColor

DataLabelCollection.LeaderLinesColor property

Gets or sets the color of all leader lines in the collection. Read/write Color.

public Color LeaderLinesColor { get; set; }

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.LeaderLinesColor = Color.FromArgb(255, 255, 0, 0);
}

See Also