Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

DynaPDF.ChangeLinkAnnot

Changes the link of a file link or web link annotation.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 5.0 Yes Yes Yes Yes Yes

MBS( "DynaPDF.ChangeLinkAnnot"; PDF; AnnotationHandle; URL )

Parameters

Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
AnnotationHandle The annotation index. 5
URL URL or file path. "http://www.mbsplugins.de/"

Result

Returns OK or error.

Description

Changes the link of a file link or web link annotation.
The parameter AnnotationHandle must be a valid handle of a file link, page link, or web link Annotation. The parameter URL can be either a file path or an URL to an internet resource; it must not be an empty string. Note that you cannot change the type of the annotation with this function. For example, a web link annotation requires still a URL to an internet resource, while a file link annotation requires a path to a file on a local hard drive.
Imported file link or web link annotations are mostly defined as page link annotation because it is impossible to distinguish between these types during import. Use the function DynaPDF.FindLinkAnnot if you need to change an imported file link or web link annotation.

See also ChangeLinkAnnot function in DynaPDF manual.

See also


DynaPDF.ChangeFontStyleEx   -   DynaPDF.ChangeSeparationColor

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins