PDF Viewer Control for ASP.NET
PdfSecurityOptions Class
NamespacesPdfViewer4AspNetPdfSecurityOptions
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.
Declaration Syntax
C#Visual BasicVisual C++
[SerializableAttribute]
public class PdfSecurityOptions
<SerializableAttribute> _
Public Class PdfSecurityOptions
[SerializableAttribute]
public ref class PdfSecurityOptions
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
PdfSecurityOptions()()()
Initializes a new instance of the PdfSecurityOptions class

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.

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.

CanPrint
Can print the document.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
KeySize
The dimension of the encryption key. By default a 128 bit key is used.

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
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.

ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
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.

Inheritance Hierarchy
Object
PdfSecurityOptions

Assembly: PdfViewerAspNet (Module: PdfViewerAspNet) Version: 3.1.0.16909 (3.1.0.0)