PDFTextBlock object
PDFTextBlock is one of the PDF Builder objects, and is derived from
PDFModel.
PDFTextBlock is a formatted text block, and must be used with the
PDFRichText object, for organizing and managing the content in
PDFRichText.
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
PDFTextBlock provides the following properties. In addition, it
inherits the properties from its parent, PDFModel.
|
PDFTextBlock property |
Datatype |
Description |
|---|---|---|
|
PDFColor |
Gets or sets the back color of the |
|
|
ClassDefinition |
PowerObject |
An object of type PowerObject containing |
|
String |
Gets or sets the content of the |
|
|
PDFFont |
Gets or sets the text font of the |
|
|
PDFTextLayout |
Gets or sets the layout of the |
|
|
PDFColor |
Gets or sets the text color of the |
Events
|
PDFTextBlock event |
Occurs |
|---|---|
|
Immediately before the Open event occurs in the |
|
|
Immediately after the Close event occurs in the |
Functions
PDFTextBlock provides the following functions.
|
PDFTextBlock function |
Datatype returned |
Description |
|---|---|---|
|
String |
Returns the name assigned to the |
|
|
PDFText |
Clones the current object. |
|
|
Integer |
Creates a reference to a context-specific instance |
|
|
String |
Gets the URL that the current object links |
|
|
PowerObject |
Returns a reference to the name of the parent |
|
|
Long |
Links the current object to the specified |
|
|
Boolean |
Adds an event to the end of the message queue for |
|
|
Long |
Sets the URL that the current object links |
|
|
Integer |
Triggers a specified event in the control and |
|
|
Object |
Returns the type of the control. |