set_HideInk()

IInkOptions::set_HideInk(bool) method

Shows or hides Ink elements in exported document.

virtual void Aspose::Slides::Export::IInkOptions::set_HideInk(bool value)=0

Remarks

Default value is false.

Next example demonstrates how to hide Ink elements in exported PDF document:

System::SharedPtr<Presentation> pres = System::MakeObject<Presentation>(u"pres.pptx");
System::SharedPtr<PdfOptions> pdfOptions = System::MakeObject<PdfOptions>();
pdfOptions->get_InkOptions()->set_HideInk(true);
pres->Save(u"output.pptx", SaveFormat::Pdf, pdfOptions);

See Also