LeaderLinesFormat

IDataLabelCollection.LeaderLinesFormat-Eigenschaft

Stellt das Format der Führungszeilen von Datenbeschriftungen dar. Nur-Lese IChartLinesFormat.

public IChartLinesFormat LeaderLinesFormat { get; }

Beispiele

Beispiel:

[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);
}

Siehe auch