Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

GetOverflowPageText – PB Docs 2022 – PowerBuilder Library

GetOverflowPageText – PB Docs 2022

GetOverflowPageText

PowerScript function

Description

Returns the overflow content of the PDFRichText/PDFMultilineText
object that cannot display in the current page.

Applies to

PDFMultilineText object in Objects and Controls

PDFRichText object in Objects and Controls

Syntax

Return value

PDFSharedText object in Objects and Controls. Returns a
PDFSharedText object that carries the overflow content if the
PDFRichText/PDFMultilineText object cannot display in the current page,
and returns null if the PDFRichText/PDFMultilineText object can all
display in the page.

Usage

The two functions, IsOverflowPage and GetOverflowPageText, shall
work together to ensure proper paging of the PDFRichText/PDFMultilineText
in the PDF document. By calling the function IsOverflowPage, you find out
whether the content overflow. If the returned result is True, the
GetOverflowPageText function gets the overflow content, which can be
loaded into the next page. You can call the functions in a loop until the
function IsOverflowPage finally returns False.

PDFSharedText is only for use with PDFMultilineText and PDFRichText
objects, for adding the overflow text into a new page.

Example

This example checks whether paging is needed for the PDFRichText
object by calling the IsOverflowPage. If the returned result is true, call
GetOverflowPageText to load the overflow content in a new page:

This example checks whether paging is needed for the
PDFMultilineText object by calling the IsOverflowPage. If the returned
result is true, call GetOverflowPageText to load the overflow content in a
new page:

See also

PDFMultilineText objects:

Clone

GetLinkAddress

IsOverflowPage

LinkToObject

SetLinkAddress

PDFRichText objects:

AddTextBlock

Clone

GetTextBlock

GetTextBlockCount

GetWrapImage

GetWrapImageCount

IsOverflowPage

RemoveTextBlock

RemoveWrapImage

WrapImage


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x