PDFTextLayout is one of the PDF Builder objects, and is derived from PDFModel. PDFTextLayout contains the layout settings for the text in the 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.
PDFTextLayout provides the following properties.
PDFTextLayout property |
Datatype |
Description |
---|---|---|
PDFTextAlignment |
The text alignment. |
|
Real |
The spacing between characters. The unit is point (pt). |
|
ClassDefinition |
PowerObject |
An object of type PowerObject containing information about the class definition of the object or control. |
Real |
The indent of the first line. The unit is point (pt). |
|
Real |
The left indent. The unit is point (pt). |
|
Real |
The spacing between lines. The unit is percentage. By default, it is 100, meaning 100% (regular spacing). If the value is n, it means n% of the regular spacing. |
|
Real |
The right indent. The unit is point (pt). |
PDFTextLayout event |
Occurs |
---|---|
Immediately before the Open event occurs in the window. |
|
Immediately after the Close event occurs in the window. |
PDFTextLayout provides the following functions.
PDFTextLayout function |
Datatype returned |
Description |
---|---|---|
String |
Returns the name assigned to the control. |
|
PDFTextLayout |
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. |