THotPDF.GetLoadedFormFieldWidgetPageIndex

Returns the zero-based loaded page index associated with one widget ordinal of a form field

Declaration

function GetLoadedFormFieldWidgetPageIndex(FieldIndex,
  WidgetIndex: Integer): Integer;

Parameters

The method returns -1 when either index is invalid or no page association is available

The first call after invalidation performs the shared linear cache build and later calls use cached links

See also: AcroForm relationship cache, GetLoadedFormFieldIndexForAnnotation