get_AccessPermissions()

PdfOptions::get_AccessPermissions() method

Contains a set of flags specifying which access permissions should be granted when the document is opened with user access. See PdfAccessPermissions.

PdfAccessPermissions Aspose::Slides::Export::PdfOptions::get_AccessPermissions() override

Remarks

auto pdfOptions = MakeObject<PdfOptions>();
pdfOptions->set_Password(u"my_password");
pdfOptions->set_AccessPermissions(PdfAccessPermissions::PrintDocument | PdfAccessPermissions::HighQualityPrint);
auto presentation = MakeObject<Presentation>();
presentation->Save(pdfFilePath, SaveFormat::Pdf, pdfOptions);

See Also