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 | 字型設定成功 |