THotPDF.GetFormFieldType Method
Method summary: THotPDF.GetFormFieldType Method/FT entry through its parent fields
Declaration
function GetFormFieldType(FieldIndex: Integer): THPDFLoadedFormFieldType; overload;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
FieldIndex | Field |
FieldName | Qualified field name, including any parent components |
Return value
Returns a value: THPDFLoadedFormFieldTypelfftText, lfftButton, lfftChoice, or lfftSignature; an unrecognised type returns lfftUnknown
Usage notes
- The nearest inherited type applies without copying it into the child dictionary
- Both overloads raise an exception when the target field does not exist
- Stable