API referenceCore SDK

pdfGetSubmitAction

Read back a Submit-form action's URL and flags.

CategoryActions

Purpose — Read back a Submit-form action's URL and flags.

Declarations

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

TPDFSubmitFormAction:

Delphi
TPDFSubmitFormAction = record
  StructSize: Cardinal;
  URL:        PAnsiChar;
  Flags:      Cardinal;
end;

Parameters

ParameterTypeDescription
IPDFPPDFInstance handle.
HandleCardinalAction handle from pdfCreateSubmitAction.
ValueTPDFSubmitFormAction*Receives URL/Flags. StructSize is not written by this call.

Return valueTRUE if Handle names a SubmitForm (kind 7) action; FALSE otherwise.

See alsopdfCreateSubmitAction

C# (P/Invoke)

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

Getters

Exported names

pdfGetSubmitAction

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.