set_AccessPermissions()
IPdfOptions::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.
virtual void Aspose::Slides::Export::IPdfOptions::set_AccessPermissions(PdfAccessPermissions value)=0
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 IPdfOptions
- Namespace Aspose::Slides::Export
- Library Aspose.Slides