set_IncludeOleData()

PdfOptions::set_IncludeOleData(bool) method

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

void Aspose::Slides::Export::PdfOptions::set_IncludeOleData(bool value) override

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