GetFormFieldSubDisplayName

Form fields

Description

Similar to GetformFieldSubName but returns the display name of the specified choice field item.

Syntax

Delphi

Function TPDFlib.GetFormFieldSubDisplayName(Index, SubIndex: Integer): WideString;

ActiveX

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

DLL

const wchar_t* DLGetFormFieldSubDisplayName(int InstanceID, int Index, int SubIndex);
const char* DLGetFormFieldSubDisplayNameA(int InstanceID, int Index, int SubIndex);

Parameters

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

Return values

Returns the display name of the specified choice field item. Returns an empty string when the document has no form data or the field index is invalid.