PDFSecurity object

The PDFSecurity object allows to get or set the security permissions of the PDF document.

Properties

PDFSecurity property

Datatype

Description

AllowAnnotations

Boolean

Whether creating or changing annotations or form fields is allowed.

AllowAssemble

Boolean

Whether inserting, deleting or rotating pages and creating bookmarks and thumbnails are allowed.

AllowCopy

Boolean

Whether copying text or graphics is allowed.

AllowForms

Boolean

Whether filling the form field is allowed.

AllowHighResolutionPrint

Boolean

Whether high-resolution printing is allowed.

AllowModify

Boolean

Whether modifying the file is allowed.

AllowPlainMetadata

Boolean

Whether keeping document metadata unencrypted even for encrypted documents is allowed.

AllowPrint

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.

MasterPassword

String

Gets or sets the master password of the PDF document.

UserPassword

String

Gets or sets the user password of the PDF document.


Events

PDFSecurity event

Occurs

Constructor

Immediately before the Open event occurs in the window.

Destructor

Immediately after the Close event occurs in the window.


Functions

PDFSecurity function

Datatype returned

Description

ClassName

String

Returns the name assigned to the control.

GetContextService

Integer

Creates a reference to a context-specific instance of the specified service.

GetParent

PowerObject

Returns a reference to the name of the parent object.

PostEvent

Boolean

Adds an event to the end of the message queue for the control.

TriggerEvent

Integer

Triggers a specified event in the control and executes the script for the event.

TypeOf

Object

Returns the type of the control.