Winnovative Excel to PDF Converter

Security Class

Winnovative Excel to PDF Converter Documentation
This class encapsulates the options to control the PDF document security options. The Document class defines a reference to an object of this type in Security property.
Inheritance Hierarchy

SystemObject
  Winnovative.ExcelToPdfSecurity

Namespace:  Winnovative.ExcelToPdf
Assembly:  wnvexceltopdf (in wnvexceltopdf.dll) Version: 10.0.0.0
Syntax

public class Security

The Security type exposes the following members.

Properties

  NameDescription
Public propertyCanAssembleDocument
Can assemble the PDF 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 PDF document accessibility content.
Public propertyCanCopyContent
Can copy the PDF document content.
Public propertyCanEditAnnotations
Can edit PDF document annotations. When this property is set to false the annotations cannot be changed in a PDF editor
Public propertyCanEditContent
Can edit PDF document content. When this property is set false the PDF document content cannot be changed in a PDF editor
Public propertyCanFillFormFields
Can fill the PDF 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.
Public propertyCanPrint
Can print the PDF document. When this property is set to false the printing of the PDF document is disabled in a PDF viewer.
Public propertyCanPrintHighResolution
Can print the PDF document in high resolution. When this property is set to true the PDF document printed in high resolution.
Public propertyEncryptionAlgorithm
The encryption algorithm used to encrypt the PDF document. The default algorithm is RC4.
Public propertyKeySize
The dimension of the PDF doucument encryption key. The default key size is 128 bits for a newly created PDF document.
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