PDFSharedText object
PDFSharedText is one of the PDF Builder objects, and is derived from
PDFVisibleContent. PDFSharedText is only for use with PDFMultilineText and
PDFRichText objects, for adding the overflow text into a new page.
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.
Notes when working with PDFSharedText
-
PDFSharedText is the object returned from the
PDFMultilineText/PDFRichText GetOverflowPageText function, and can
only be passed to the PDFPage AddContent function. The object does
not support any other operations. -
If the PDFMultilineText/PDFRichText object is not added into a
PDFPage or is removed from the PDFPage, executing
GetOverflowPageText on the object always returns null.
Properties
PDFSharedText provides the following property. In addition, it
inherits the properties from its parent, PDFVisibleContent.
|
PDFObject property |
Datatype |
Description |
|---|---|---|
|
ClassDefinition |
PowerObject |
An object of type PowerObject containing |
Events
|
PDFObject event |
Occurs |
|---|---|
|
Immediately before the Open event occurs in the |
|
|
Immediately after the Close event occurs in the |
Functions
PDFSharedText provides the following functions. In addition, it
inherits the functions from its parent, PDFVisibleContent.
|
PDFObject function |
Datatype returned |
Description |
|---|---|---|
|
String |
Returns the name assigned to the |
|
|
Integer |
Creates a reference to a context-specific instance |
|
|
PowerObject |
Returns a reference to the name of the parent |
|
|
Boolean |
Adds an event to the end of the message queue for |
|
|
Integer |
Triggers a specified event in the control and |
|
|
Object |
Returns the type of the control. |