SetFormFieldFont
表单字段
描述
设置指定表单字段必须使用的字体
语法
Delphi
Function TPDFlib.SetFormFieldFont(Index, FontIndex: Integer): Integer;
ActiveX
Function PDFlib::SetFormFieldFont(Index As Long, FontIndex As Long) As Long
DLL
int DLSetFormFieldFont(int InstanceID, int Index, int FontIndex);
参数
| Index | 要操作的表单字段索引。第一个表单字段的索引为 1 |
|---|---|
| FontIndex | 要使用的字体索引,表单中第一个字体索引为 1,使用 GetFormFontCount 确定表单中可用字体数 |
返回值
| 0 | 字体索引错误或找不到表单字段 |
|---|---|
| 1 | 字体设置成功 |