AccessPermissions
IPdfOptions.AccessPermissions property
包含一组标志,指定在打开文档时应授予哪些访问权限 具有用户访问权限。请参阅PdfAccessPermissions
。
public PdfAccessPermissions AccessPermissions { get; set; }
例子
[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);
}
也可以看看
- enum PdfAccessPermissions
- interface IPdfOptions
- 命名空间 Aspose.Slides.Export
- 部件 Aspose.Slides