SetFormFieldColor
表單欄位、色彩
描述
設定表單欄位文字的顏色。顏色參數值域為 0 到 1,0 代表 0%、1 代表 100%
語法
Delphi
Function TPDFlib.SetFormFieldColor(Index: Integer; Red, Green, Blue: Double): Integer;
ActiveX
Function PDFlib::SetFormFieldColor(Index As Long, Red As Double, Green As Double, Blue As Double) As Long
DLL
int DLSetFormFieldColor(int InstanceID, int Index, double Red, double Green, double Blue);
參數
| Index | 要操作的表單欄位索引。第一個表單欄位的索引為 1。 |
|---|---|
| Red | 顏色的紅成分 |
| Green | 顏色的綠成分 |
| Blue | 顏色的藍成分 |
傳回值
| 0 | 找不到表單欄位 |
|---|---|
| 1 | 表單欄位文字顏色設定成功 |