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

IndexThe index of the form field

Return values

0Unknown
1Text 2 Pushbutton Checkbox 3 4 Radiobutton 5 Choice 6 Signature 7 Parent