GetFormFieldSubCount

Form fields

Description

For radio button, checkbox items and choice fields (scrollable list box or combo box drop-down list), this function returns the number of possible values the form field can be set to.

Syntax

Delphi

function TPDFlib.GetFormFieldSubCount(Index: Integer): Integer;

ActiveX

Function PDFlib::GetFormFieldSubCount(Index As Long) As Long

DLL

int DLGetFormFieldSubCount(int InstanceID, int Index);

Parameters

IndexThe index of the form field to examine

Return values

0The form field could not be found or it does not have sub-values
Non-zeroThe number of possible values the form field can be set to