PDFSecurity is one of the PDF Builder objects and is derived from PDFModel. It gets or sets the security permissions of the PDF document.
To view the full hierarchy of the PDF Builder objects, find "pdfobject" in the Browser, right-click the object, and then select "Show Hierarchy” in the pop-up menu.
PDFSecurity provides the following properties.
PDFSecurity property |
Datatype |
Description |
---|---|---|
Boolean |
Whether creating or changing annotations or form fields is allowed. |
|
Boolean |
Whether inserting, deleting or rotating pages and creating bookmarks and thumbnails are allowed. |
|
Boolean |
Whether copying text or graphics is allowed. |
|
Boolean |
Whether filling the form field is allowed. |
|
Boolean |
Whether high-resolution printing is allowed. |
|
Boolean |
Whether modifying the file is allowed. |
|
Boolean |
Whether keeping document metadata unencrypted even for encrypted documents is allowed. |
|
Boolean |
Whether printing the file is allowed. |
|
ClassDefinition |
PowerObject |
An object of type PowerObject containing information about the class definition of the object or control. |
String |
Gets or sets the master password of the PDF document. |
|
String |
Gets or sets the user password of the PDF document. |
PDFSecurity event |
Occurs |
---|---|
Immediately before the Open event occurs in the window. |
|
Immediately after the Close event occurs in the window. |
PDFSecurity provides the following functions.
PDFSecurity function |
Datatype returned |
Description |
---|---|---|
String |
Returns the name assigned to the control. |
|
Integer |
Creates a reference to a context-specific instance of the specified service. |
|
PowerObject |
Returns a reference to the name of the parent object. |
|
Boolean |
Adds an event to the end of the message queue for the control. |
|
Integer |
Triggers a specified event in the control and executes the script for the event. |
|
Object |
Returns the type of the control. |