SetFormFieldTextSize
文字、表單欄位
描述
設定指定表單欄位文字的大小。值為 0 表示欄位會自動調整文字大小以填滿可用空間
語法
Delphi
Function TPDFlib.SetFormFieldTextSize(Index: Integer; NewTextSize: Double): Integer;
ActiveX
Function PDFlib::SetFormFieldTextSize(Index As Long, NewTextSize As Double) As Long
DLL
int DLSetFormFieldTextSize(int InstanceID, int Index, double NewTextSize);
參數
| Index | 要操作的表單欄位索引。第一個表單欄位的索引為 1。 |
|---|---|
| NewTextSize | 表單欄位字型的新尺寸(點) |
傳回值
| 0 | 找不到表單欄位 |
|---|---|
| 1 | 表單欄位字型大小設定成功 |