set_IncludeOleData()

IPdfOptions::set_IncludeOleData(bool) method

True to convert all OLE data from the presentation to embedded files in the resulting PDF. Write bool.

virtual void Aspose::Slides::Export::IPdfOptions::set_IncludeOleData(bool value)=0

Remarks

Default is false.

Example:

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

System::SharedPtr<PdfOptions> options = System::MakeObject<PdfOptions>();
options->set_IncludeOleData(true);
pres->Save(u"pres.pdf", SaveFormat::Pdf, options);

See Also