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 | フォームフィールドのテキスト色が正常に設定されました |