GetFormFieldSubName

Form fields

Description

For radio button, checkbox and choice (scrollable list box or combo box drop-down list) form fields, this function returns the specified possible value.

For choice fields the GetformFieldSubDisplayName function can be used to retrieve the display name of the choice item.

Syntax

Delphi

function TPDFlib.GetFormFieldSubName(Index, SubIndex: Integer): WideString;

ActiveX

Function PDFlib::GetFormFieldSubName(Index As Long, SubIndex As Long) As String

DLL

wchar_t * DLGetFormFieldSubName(int InstanceID, int Index, int SubIndex);

Parameters

IndexThe index of the form field to examine The index of the sub-value to retrieve
SubIndex