set_AccessPermissions()
PdfOptions::set_AccessPermissions(PdfAccessPermissions) method
Contains a set of flags specifying which access permissions should be granted when the document is opened with user access. See PdfAccessPermissions.
void Aspose::Slides::Export::PdfOptions::set_AccessPermissions(PdfAccessPermissions value) 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
- Enum PdfAccessPermissions
- Class PdfOptions
- Namespace Aspose::Slides::Export
- Library Aspose.Slides