THotPDF.GetFormFieldType Method

Returns a terminal field's type, resolving an inherited /FT entry through its parent fields

Declaration

function GetFormFieldType(FieldIndex: Integer): THPDFLoadedFormFieldType;
function GetFormFieldType(const FieldName: AnsiString): THPDFLoadedFormFieldType;

Unit

HPDFDoc

Parameters

NamePurpose
FieldIndexZero-based terminal-field index
FieldNameQualified field name, including any parent components

Return value

Returns lfftText, lfftButton, lfftChoice, or lfftSignature; an unrecognized type returns lfftUnknown

Usage notes

Related APIs