LinkToObject – PB Docs 2022

LinkToObject

PowerScript function

Description

Links the current object to an object that already exists in the PDF
document.

Applies to

PDFText object in Objects and Controls

PDFImage object in Objects and Controls

PDFMultilineText object in Objects and Controls

PDFTextBlock object in Objects and Controls

Syntax

Argument

Description

object

The object that the current object links to. The object
type can only be one of the following: PDFText, PDFImage,
PDFMultilinkText, PDFTextBlock.

Return value

Long. Returns 1 if it succeeds, or -1 if an error occurs. For more
errors, see the Error Codes.

Usage

Call the function to link the current object with the specified
object.

Examples

The following example links the PDFText object (with the content
“jump to me”) to the current PDFText object (with the content “I am
PDFtexttext).

See also

PDFText, PDFImage, PDFTextBlock objects:

Clone

GetLinkAddress

SetLinkAddress

PDFMultilineText objects:

Clone

GetLinkAddress

GetOverflowPageText

IsOverflowPage

SetLinkAddress


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