API referenceCore SDK

pdfGetGoToRAction

Read back a GoToR action's target page and destination type.

CategoryActions

Purpose — Read back a GoToR action's target page and destination type.

Description — Reuses the TPDFGoToAction record shape (same as pdfGetGoToAction), but for GoToR this getter fills only DestPage/DestType — the target file name and any named destination set via pdfCreateGoToRActionEx are not exposed through this call at all.

Declarations

C
BOOL32 __stdcall pdfGetGoToRAction(PPDF IPDF, uint32_t Handle, TPDFGoToAction* Action);
Delphi
function pdfGetGoToRAction(const IPDF: PPDF; Handle: Cardinal; var Action: TPDFGoToAction): LongBool; stdcall; external 'LumasPdf.dll';

Parameters

ParameterTypeDescription
IPDFPPDFInstance handle.
HandleCardinalAction handle from a pdfCreateGoToRAction… call.
ActionTPDFGoToAction*Receives DestPage/DestType only; DestPos is not populated by this getter.

Return valueTRUE if Handle names a GoToR (kind 4) action; FALSE otherwise.

Remarks — There is no dedicated getter in this build for the target file name or named destination of a GoToR action; both are write-only through the V17/V03 creators.

See alsopdfCreateGoToRAction

C# (P/Invoke)

wrappers/dotnet/LumasPdf.cs
[return: MarshalAs(UnmanagedType.Bool)]
Area
Core SDK
Category

Getters

Exported names

pdfGetGoToRAction

String variants

The …A form takes UTF-8, …W takes UTF-16; a bare name aliases the ANSI form.

See working code

Worked examples — complete programs in ten languages.