GetFormFieldTitle

Form fields

Description

Returns the title of the specified form field.

Syntax

Delphi

Function TPDFlib.GetFormFieldTitle(Index: Integer): WideString;

ActiveX

Function PDFlib::GetFormFieldTitle(Index As Long) As String

DLL

const wchar_t* DLGetFormFieldTitle(int InstanceID, int Index);
const char* DLGetFormFieldTitleA(int InstanceID, int Index);

Parameters

IndexThe index of the required form field. The first form field has an index of 1.

Return values

Returns the title of the specified form field. Returns an empty string when the document has no form data or Index is out of range.