GetFormFontName

字体、表单字段

描述

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

语法

Delphi

Function TPDFlib.GetFormFontName(FontIndex: Integer): WideString;

ActiveX

Function PDFlib::GetFormFontName(FontIndex As Long) As String

DLL

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

参数

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

返回值

返回给定索引处表单字体的名称。文档没有表单数据时返回空字符串。