PdfSecurityOptions Class

This class encapsulates the options to control the security options of the merged PDF document. The PDFMerge class defines a reference to an object of this type

Definition

Namespace: Winnovative.PDFMerge
Assembly: WnvPdfMerge_NetCore (in WnvPdfMerge_NetCore.dll) Version: 14.0.0
C#
public class PdfSecurityOptions
Inheritance
Object    PdfSecurityOptions

Constructors

PdfSecurityOptionsInitializes a new instance of the PdfSecurityOptions class

Properties

CanAssembleDocument Can assemble the document (create bookmarks, thumbnail images or insert, rotate, delete pages). This property has effect when a 128 bit key is used.
CanCopyAccessibilityContent Can copy the document accessibility content
CanCopyContent Can copy the document content.
CanEditAnnotations Can edit PDF document annotations.
CanEditContent Can edit PDF document content.
CanFillFormFields Can fill the form fields. This property has effect when a 128 bit key is used. To disable form filling the CanEditContent and CanEditAnnotations must be set on false.
CanPrint Can print the document.
CanPrintHighResolution Can print in high resolution
EncryptionAlgorithm The encryption algorithm. The default algorithm is RC4.
KeySize The dimension of the encryption key. By default a 128 bit key is used.
OwnerPassword The password required to change permissions of the PDF document like printing or editing. If the OwnerPassword property is an empty string and the UserPassword is not empty, the OwnerPassword will be automatically assigned with the value from UserPassword and when the PDF document is opened in the viewer using the user password (which is also the owner password) all the operations like printing, copying, etc will be allowed.
UserPassword The password required to open the PDF document. If the OwnerPassword property is an empty string and the UserPassword is not empty, the OwnerPassword will be automatically assigned with the value from UserPassword and when the PDF document is opened in the viewer using the user password (which is also the owner password) all the operations like printing, copying, etc will be allowed.

Methods

Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

See Also