NoEmbedFontListAddA
矢量图形、字体、杂项函数
描述
结尾的 A 表示 ANSI(char)DLL 入口点;ActiveX/COM 接口仅公开 Unicode 形式。其行为与 NoEmbedFontListAdd 相同,字符串参数按当前 SetAnsiMode 代码页解释
将字体名称添加到供 LoadFromCanvasDC 和下列项使用的不嵌入字体列表
NewPageFromCanvasDC 函数
语法
Delphi
Function DLNoEmbedFontListAddA(InstanceID: Integer; FontName: PAnsiChar): Integer;
DLL
int DLNoEmbedFontListAddA(int InstanceID, const char * FontName);
参数
| FontName | 要添加到列表中的字体名称 |
|---|
返回值
| 0 | 字体名称已在列表中 |
|---|---|
| 1 | 字体名称已成功添加到列表 |