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 LongDLL
int DLGetFormFieldSubCount(int InstanceID, int Index);Parameters
| Index | The index of the form field to examine |
|---|
Return values
| 0 | The form field could not be found or it does not have sub-values |
|---|---|
| Non-zero | The number of possible values the form field can be set to |