get_LeaderLinesFormat()
IDataLabelCollection::get_LeaderLinesFormat() method
Represents data labels leader lines format. Read-only IChartLinesFormat.
virtual System::SharedPtr<IChartLinesFormat> Aspose::Slides::Charts::IDataLabelCollection::get_LeaderLinesFormat()=0
Remarks
Example:
auto pres = System::MakeObject<Presentation>(u"pres.pptx");
System::SharedPtr<IChart> chart = System::ExplicitCast<IChart>(pres->get_Slide(0)->get_Shape(0));
System::SharedPtr<IChartSeriesCollection> series = chart->get_ChartData()->get_Series();
System::SharedPtr<IDataLabelCollection> labels = series->idx_get(0)->get_Labels();
System::SharedPtr<ILineFillFormat> fillFormat = labels->get_LeaderLinesFormat()->get_Line()->get_FillFormat();
fillFormat->set_FillType(FillType::Solid);
fillFormat->get_SolidFillColor()->set_Color(System::Drawing::Color::FromArgb(255, 255, 0, 0));
See Also
- Typedef SharedPtr
- Class IChartLinesFormat
- Class IDataLabelCollection
- Namespace Aspose::Slides::Charts
- Library Aspose.Slides