GetFormFieldFontName

表单字段

描述

检索指定表单字段正在使用的字体名称

语法

Delphi

Function TPDFlib.GetFormFieldFontName(Index: Integer): WideString;

ActiveX

Function PDFlib::GetFormFieldFontName(Index As Long) As String

DLL

const wchar_t* DLGetFormFieldFontName(int InstanceID, int Index);
const char* DLGetFormFieldFontNameA(int InstanceID, int Index);

参数

Index要操作的表单字段索引。第一个表单字段的索引为 1

返回值

返回字段外观使用的字体名称;Index 无效或字段未指定字体时返回空字符串