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

DynaPDF.CreateGoToRActionEx

Creates a go-to-remote action.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 10.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.CreateGoToRActionEx"; PDF; FileName; DestName; NewWindow )   More

Parameters

Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
FileName File path to external PDF file.
DestName Named Destination to access.
NewWindow If true, the file is opened in a new window. 1

Result

Returns action index or error.

Description

Creates a go-to-remote action.
Creates a go-to-remote action that opens a named destination in an external PDF file. The parameter DestName must be the name of a named destination located in the external PDF file. Note that this is a binary string which must be specified exactly and case-sensitive. If the name was originally defined as an Unicode string, the go-to remote action must use the same string format. Otherwise the destination cannot be found. See also DynaPDF.CreateNamedDest.

The path to the external PDF file should be defined as relative path. Actions must be added to a PDF object with DynaPDF.AddActionToObj.
Unicode file path are supported since PDF 1.7 (Acrobat 8). Earlier Acrobat versions will fail to open the file if the path contains non-Ansi characters.

If the function succeeds the return value is the action handle, a value greater or equal zero.

See also CreateGoToRActionEx function in DynaPDF manual.

See also

Release notes

Blog Entries

This function checks for a license.

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


DynaPDF.CreateGoToRAction - DynaPDF.CreateGroupField