[]
Represents the security settings of PDF.
public class PdfSecurityOptions
public PdfSecurityOptions()
Permission to insert, rotate, or delete pages and create bookmarks or thumbnail images. The default value is true. If you want to prevent a user from inserting/rotating/deleting pages , you need to set ModifyDocumentPermission = false as well.
public bool AssembleDocumentPermission { get; set; }
Permission to copy or extract content. The default value is true.
public bool ExtractContentPermission { get; set; }
Permission to fill the form fields. The default value is true. If you want to prevent a user from filling in interactive form fields, you need to set ModifyAnnotationsPermission = false as well.
public bool FillFormsPermission { get; set; }
Permission to print in high quality. The default value is true.
public bool FullQualityPrintPermission { get; set; }
Permission to modify text annotations and fill the form fields. The default value is true.
public bool ModifyAnnotationsPermission { get; set; }
Permission to modify PDF document. The default value is true.
public bool ModifyDocumentPermission { get; set; }
Gets or sets the owner password of the document.
public string OwnerPassword { get; set; }
Permission to print PDF document. The default value is true.
public bool PrintPermission { get; set; }
Gets or sets the user password.
public string UserPassword { get; set; }