AccessPermissions
IPdfOptions.AccessPermissions property
Contains a set of flags specifying which access permissions should be granted when the document is opened with user access. See PdfAccessPermissions
.
public PdfAccessPermissions AccessPermissions { get; set; }
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
- enum PdfAccessPermissions
- interface IPdfOptions
- namespace Aspose.Slides.Export
- assembly Aspose.Slides