GetFormFontNameA

字体、表单字段

描述

末尾的 A 表示 ANSI(char)DLL 入口点;ActiveX/COM 接口仅公开 Unicode 形式。其行为与 GetFormFontName 相同,字符串参数按当前 SetAnsiMode 代码页解释

返回具有指定索引的字体名称

语法

Delphi

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

DLL

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

参数

FontIndex要处理的字体索引,表单中的第一个字体索引为 1,使用 GetFormFontCount 确定表单中可用的字体数量