FontNameA
字体
描述
末尾的 A 表示 ANSI(char)DLL 入口点;ActiveX/COM 接口仅公开 Unicode 形式。其行为与 FontName 相同,字符串参数会使用当前 SetAnsiMode 代码页进行解释
返回所选字体的名称,字体添加到文档时会自动选中,可使用 GetFontID 和 SelectFont 函数选择其他字体
语法
Delphi
Function DLFontNameA(InstanceID: Integer): PAnsiChar;
DLL
const char * DLFontNameA(int InstanceID);