PDFAttachment is one of the PDF Builder objects, and is derived from PDFModel. It gets or sets attachments for a 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.
PDFAttachment provides the following property. In addition, it inherits the properties from its parent, PDFModel.
PDFAttachment property |
Datatype |
Description |
---|---|---|
ClassDefinition |
PowerObject |
An object of type PowerObject containing information about the class definition of the object or control. |
PDFAttachment event |
Occurs |
---|---|
Immediately before the Open event occurs in the window. |
|
Immediately after the Close event occurs in the window. |
PDFAttachment provides the following functions.
PDFAttachment function |
Datatype returned |
Description |
---|---|---|
Long |
Specifies a file to add as an attachment of the PDF document. |
|
Long |
Specifies a folder to add the files in it as attachments of the PDF document. |
|
String |
Returns the name assigned to the object. |
|
Integer |
Creates a reference to a context-specific instance of the specified service. |
|
Long |
Gets the count of attachments of the PDF document. |
|
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. |
|
Long |
Removes all the attachments of the PDF document. |
|
Integer |
Triggers a specified event in the control and executes the script for the event. |
|
Object |
Returns the type of the control. |