获取系统字体名称列表 - GetSystemFontNames
函数简介
枚举当前系统已安装的字体名称列表。
接口名称
GetSystemFontNames
DLL调用
string GetSystemFontNames(long ola);
参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| ola | 长整数型 | OLAPlug对象的指针,由 CreateCOLAPlugInterFace 接口生成。 |
示例
// string fonts = GetSystemFontNames(ola);
// 结果示例: "SimSun|Microsoft YaHei|SimHei|KaiTi"
返回值
字符串型:字体名列表,使用 | 分隔,例如 SimSun|Microsoft YaHei|SimHei|KaiTi。
