GetFormFieldFontName

Form fields

Description

Retrieves the name of the font that the specified form field is using.

Syntax

Delphi

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

ActiveX

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

DLL

const wchar_t* DLGetFormFieldFontName(int InstanceID, int Index);
const char* DLGetFormFieldFontNameA(int InstanceID, int Index);

Parameters

IndexThe index of the form field to work with. The first form field has an index of 1.

Return values

Returns the font name used by the field's appearance, or an empty string when Index is invalid or the field names no font