Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


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 )   More


Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
AnnotationHandle The annotation index. 5
URL URL or file path. ""


Returns OK or error.


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

Created 25th November 2014, last changed 25th November 2014

DynaPDF.ChangeFontStyleEx   -   DynaPDF.ChangeSeparationColor

Feedback: Report problem or ask question.

MBS Xojo Plugins