PDFDocument object

The PDFDocument object allows to import data from a DataWindow object, a DataWindowChild object or a DataStore object, or an existing PDF document to a new PDF document and save the document.

Properties

PDFDocument property

Datatype

Description

ClassDefinition

PowerObject

An object of type PowerObject containing information about the class definition of the object or control.

Properties

PDFDocumentProperties

Gets or sets the properties of the PDF document.

Security

PDFSecurity

Gets or sets the security property of the PDF document.


Events

PDFDocument event

Occurs

Constructor

Immediately before the Open event occurs in the window.

Destructor

Immediately after the Close event occurs in the window.


Functions

PDFDocument 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.

ImportDataWindow

Long

Import data from the DataWindow control, DataStore object, or DataWindowChild object to a PDF document.

ImportPDF

Long

Import an existing PDF document to a new PDF document.

PostEvent

Boolean

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

Save

Long

Saves the contents of a PDF document.

TriggerEvent

Integer

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

TypeOf

Object

Returns the type of the control.