PDFImportContent is one of the PDF Builder objects, and is derived from PDFVisibleContent. PDFImportContent defines the object to be imported to a PDF document. You can set the target location, size and other properties of the object before adding it to the PDF document. There is a simpler approach than Alternative to using PDFImportContent
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.
PDFImportContent provides the following properties. In addition, it inherits the properties from its parent, PDFVisibleContent.
PDFImportContent property |
Datatype |
Description |
---|---|---|
ClassDefinition |
PowerObject |
An object of type PowerObject containing information about the class definition of the object or control. |
String |
The PDF file name. |
|
Long |
The index of the page in the PDF file. |
PDFImportContent event |
Occurs |
---|---|
Immediately before the Open event occurs in the window. |
|
Immediately after the Close event occurs in the window. |
PDFImportContent provides the following functions. In addition, it inherits the functions from its parent, PDFVisibleContent.
PDFImportContent function |
Datatype returned |
Description |
---|---|---|
String |
Returns the name assigned to the control. |
|
PDFImportContent |
Clones the current object. |
|
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. |