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

DynaPDF.CreateGoToRAction

Creates a go-to-remote action.

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

Parameters

Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
FileName File path to external PDF file.
PageNum Destination Page 5

Result

Returns action index or error.

Description

Creates a go-to-remote action.
A go-to-remote action opens an external PDF file and jumps to the page defined by the parameter PageNum. If the destination page does not exist the first page will be displayed.
The path to the external PDF file should be defined as relative path. Actions must be added to a PDF object with DynaPDF.AddActionToObj. This function is also implemented in a wide version that accepts an Unicode file path. However, 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 CreateGoToRAction 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.CreateGoToEAction - DynaPDF.CreateGoToRActionEx