PDFDocument object
PDFDocument is one of the PDF Builder objects and is derived from
PDFModel. It imports data from a DataWindow object, a DataWindowChild
object or a DataStore object, or an existing PDF document to a new PDF
document and saves the 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.
Properties
PDFDocument provides the following properties. In addition, it
inherits the properties from its parent, PDFModel.
|
PDFDocument property |
Datatype |
Description |
|---|---|---|
|
PDFAttachment |
Gets or sets the attachment of the PDF |
|
|
ClassDefinition |
PowerObject |
An object of type PowerObject containing |
|
Long |
Gets or sets the compression level of the PDF |
|
|
PDFDocumentProperties |
Gets or sets the properties of the PDF |
|
|
PDFSecurity |
Gets or sets the security property of the PDF |
|
|
PDFWatermark |
Gets or sets the watermark of the PDF |
Events
|
PDFDocument event |
Occurs |
|---|---|
|
Immediately before the Open event occurs in the |
|
|
Immediately after the Close event occurs in the |
Functions
PDFDocument provides the following functions.
|
PDFDocument function |
Datatype returned |
Description |
|---|---|---|
|
Long |
Adds a page to an existing PDF document. The page |
|
|
String |
Returns the name assigned to the |
|
|
PDFDocument |
Clones the document. |
|
|
Integer |
Creates a reference to a context-specific instance |
|
|
PDFPage |
Gets the specified page in the |
|
|
Long |
Gets the page count of the document. |
|
|
PowerObject |
Returns a reference to the name of the parent |
|
|
PDFTableOfContents |
Gets the table of contents of the |
|
|
Long |
Imports data from the DataWindow control, DataStore |
|
|
Long |
Imports an existing PDF document to a new PDF |
|
|
Long |
Imports the documentation information of the |
|
|
Long |
Imports the content in the RichTextEdit control to |
|
|
Long |
Gets the index of the specified page in the |
|
|
Long |
Inserts a page to the specified location in the |
|
|
Boolean |
Adds an event to the end of the message queue for |
|
|
Long |
Removes a page from the document. |
|
|
Long |
Saves the contents of a PDF document. |
|
|
PDFModel |
Searches for the specified object in the |
|
|
None |
Sets the table of content for the |
|
|
Integer |
Triggers a specified event in the control and |
|
|
Object |
Returns the type of the control. |