THotPDF.CreateLoadedFieldWidget Method

Provides create loaded field widget behavior for the AcroForm workflow. Use it when the surrounding API family needs explicit control over PDF objects, page content, resources, conformance, or diagnostics

Declaration

function CreateLoadedFieldWidget(PageIndex: Integer; X1, Y1, X2, Y2: Single; const AFieldName, AFieldType: AnsiString; AFlags: Integer): THPDFDictionaryObject;

Unit

HPDFDoc

Parameters

NamePurpose
PageIndexZero-based index or object index used to select an existing item
X1Input used by CreateLoadedFieldWidget
Y1Input used by CreateLoadedFieldWidget
X2Input used by CreateLoadedFieldWidget
Y2Input used by CreateLoadedFieldWidget
AFieldNameAcroForm field name or field dictionary targeted by the helper
AFieldTypeAcroForm field name or field dictionary targeted by the helper
AFlagsInput used by CreateLoadedFieldWidget

Return value

Returns a THPDFDictionaryObject value

Usage notes

Related APIs