Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

DynaPDF.CreateGoToActionEx

Creates a go-to action which uses a named destination to open the target page.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 10.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.CreateGoToActionEx"; PDF; NamedDest )   More

Parameters

Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
NamedDest The index of the named destination.

Result

Returns an action number or error.

Description

Creates a go-to action which uses a named destination to open the target page.
A named destination can be used if the destination should be accessible from another PDF file. See also DynaPDF.CreateNamedDest.

See also CreateGoToActionEx function in DynaPDF manual.

Examples

Adds a go-to action for a cell in the table:

Set Variable [ $NamedDest ; Value: MBS( "DynaPDF.CreateNamedDest"; $pdf; "test"; 2; "Fit") ]
Set Variable [ $Action ; Value: MBS( "DynaPDF.CreateGoToActionEx"; $PDF; $NamedDest ) ]
Set Variable [ $r ; Value: MBS( "DynaPDF.Table.SetCellAction"; $Table; $rowNum; 0; $action; "Invert" ) ]

See also

Release notes

Example Databases

Blog Entries

This function checks for a license.

Created 5th December 2019, last changed 5th December 2019


DynaPDF.CreateGoToAction - DynaPDF.CreateGoToEAction