FontNameA

Fonts

Description

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

Returns the name of the selected font. A font is automatically selected when it is added to the document. The GetFontID and SelectFont functions can be used to select a different font.

Syntax

Delphi

Function DLFontNameA(InstanceID: Integer): PAnsiChar;

DLL

const char * DLFontNameA(int InstanceID);