PdfOptionsAccessPermissions Property

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

Namespace:  Aspose.Slides.Export
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.4.0.0 (21.4)
Syntax
public PdfAccessPermissions AccessPermissions { get; set; }

Property Value

Type: PdfAccessPermissions

Implements

IPdfOptionsAccessPermissions
Examples
[C#]
var pdfOptions = new PdfOptions();
pdfOptions.Password = "my_password";
pdfOptions.AccessPermissions = PdfAccessPermissions.PrintDocument | PdfAccessPermissions.HighQualityPrint;

using (var presentation = new Presentation())
{
    presentation.Save(pdfFilePath, SaveFormat.Pdf, pdfOptions);
}
See Also