API referenceForms

pdfSetFormFieldPage

Move a field's widget annotation to a different page —

C
int32_t __stdcall pdfSetFormFieldPage(PPDF IPDF, int32_t Index, int32_t NewPage);
Delphi
function pdfSetFormFieldPage(const IPDF: PPDF; Index, NewPage: Integer): Integer; stdcall;

Purpose. Move a field's widget annotation to a different page — Index here is the field's own handle (per this SDK's recurring Index-means-Handle naming convention), not a positional index.

Parameters.

ParameterDescription
IPDFDocument handle.
IndexThe target field's handle.
NewPage1-based destination page.

Return value. 1 if the field resolved and was moved; 0 otherwise.

C# (P/Invoke)

wrappers/dotnet/LumasPdf.cs
public static extern int pdfSetFormFieldPage(IntPtr IPDF, int Index, int NewPage);
Area
Forms
Category

Setters

Exported names

pdfSetFormFieldPage

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.