GetFormFieldCaption

Form fields

Description

Returns the caption of a form field.

Syntax

Delphi

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

ActiveX

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

DLL

const wchar_t* DLGetFormFieldCaption(int InstanceID, int Index);
const char* DLGetFormFieldCaptionA(int InstanceID, int Index);

Parameters

IndexThe index of the form field

Return values

Returns the normal caption of the field, or an empty string when Index is invalid or the field carries no caption