GetFormFieldType
Form fields
Description
Returns the type of the specified form field.
Syntax
Delphi
Function TPDFlib.GetFormFieldType(Index: Integer): Integer;
ActiveX
Function PDFlib::GetFormFieldType(Index As Long) As Long
DLL
int DLGetFormFieldType(int InstanceID, int Index);
Parameters
| Index | The index of the form field |
|---|
Return values
| 0 | Unknown |
|---|---|
| 1 | Text |
| 2 | Pushbutton |
| 3 | Checkbox |
| 4 | Radiobutton |
| 5 | Choice |
| 6 | Signature |
| 7 | Parent |