GetFormFontNameA

Fonts, Form fields

Description

The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to GetFormFontName and string arguments are interpreted using the current SetAnsiMode code page

Returns the name of the font with the specified index.

Syntax

Delphi

Function DLGetFormFontNameA(InstanceID, FontIndex: Integer): PAnsiChar;

DLL

const char * DLGetFormFontNameA(int InstanceID, int FontIndex);

Parameters

FontIndexThe index of the font to work with. The first font in the form has an index of 1. Use GetFormFontCount to determine the number of fonts available in the form.