EVO PDF Viewer Control for ASP.NET Documentation

PdfSecurityOptions Class

EVO PDF Viewer Control for ASP.NET
This class encapsulates the options to control the PDF document security options. The PDF document is modified to apply the properties from the PdfSecurityOptions before being displayed in the viewer control and this might introduce an additional delay before the document is displayed.
Inheritance Hierarchy

SystemObject
  EvoPdf.PdfViewerAspNetPdfSecurityOptions

Namespace:  EvoPdf.PdfViewerAspNet
Assembly:  EvoPdfViewerAspNet (in EvoPdfViewerAspNet.dll) Version: 10.0.0.0 (10.0.0.0)
Syntax

[SerializableAttribute]
[TypeConverterAttribute(typeof(ExpandableObjectConverter))]
public class PdfSecurityOptions

The PdfSecurityOptions type exposes the following members.

Constructors

  NameDescription
Public methodPdfSecurityOptions
Initializes a new instance of the PdfSecurityOptions class
Top
Properties

  NameDescription
Public propertyCanAssembleDocument
Can assemble the document (create bookmarks, thumbnail images or insert, rotate, delete pages). This property has effect when a 128 bit key is used.
Public propertyCanCopyAccessibilityContent
Can copy the document accessibility content
Public propertyCanCopyContent
Can copy the document content.
Public propertyCanEditAnnotations
Can edit PDF document annotations.
Public propertyCanEditContent
Can edit PDF document content.
Public propertyCanFillFormFields
Can fill the form fields. This property has effect when a 128 bit key is used.
Public propertyCanPrint
Can print the document.
Public propertyCanPrintHighResolution
Can print in high resolution
Public propertyEncryptionAlgorithm
The encryption algorithm. The default algorithm is RC4.
Public propertyKeySize
The dimension of the encryption key. By default a 128 bit key is used.
Public propertyOwnerPassword
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.
Public propertyUserPassword
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.
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

Reference