get_Brush()

InkTrace::get_Brush() method

Gets Brush for the IInkLine IInkBrush Read-only.

System::SharedPtr<IInkBrush> Aspose::Slides::Ink::InkTrace::get_Brush() override

Remarks

Example:

System::SharedPtr<Presentation> pres = System::MakeObject<Presentation>(u"pres.pptx");

System::SharedPtr<IInk> ink = System::ExplicitCast<IInk>(pres->get_Slide(0)->get_Shape(0));
System::ArrayPtr<System::SharedPtr<IInkTrace>> traces = ink->get_Traces();
System::SharedPtr<IInkBrush> brush = traces[0]->get_Brush();

See Also