SetFormFieldBackgroundColor
フォームフィールド、カラー
説明
指定したフォームフィールドの背景色を設定します。色パラメーターの値は 0~1 で、0 は色が 0%、1 は 100% であることを示します
構文
Delphi
Function TPDFlib.SetFormFieldBackgroundColor(Index: Integer; Red, Green, Blue: Double): Integer;
ActiveX
Function PDFlib::SetFormFieldBackgroundColor(Index As Long, Red As Double, Green As Double, Blue As Double) As Long
DLL
int DLSetFormFieldBackgroundColor(int InstanceID, int Index, double Red, double Green, double Blue);
パラメータ
| Index | フォームフィールドのインデックス |
|---|---|
| Red | カラーの赤成分 |
| Green | 色の緑成分 色の青成分 |
| Blue |
戻り値
| 0 | フォームフィールドが見つからないか、パラメーターが無効でした フォームフィールドの背景色が正常に設定されました |
|---|---|
| 1 |