SetFormFieldBackgroundColorCMYK
フォームフィールド、カラー
説明
指定したフォームフィールドの背景色を設定します。SetFormFieldBorderColor 関数と似ていますが、色成分は CMYK 色空間(Cyan、Magenta、Yellow、Black)で指定します。色パラメーターの値は 0~1 で、0 は色の 0%、1 は 100% を示します
構文
Delphi
Function TPDFlib.SetFormFieldBackgroundColorCMYK(Index: Integer; C, M, Y, K: Double): Integer;
ActiveX
Function PDFlib::SetFormFieldBackgroundColorCMYK(Index As Long, C As Double, M As Double, Y As Double, K As Double) As Long
DLL
int DLSetFormFieldBackgroundColorCMYK(int InstanceID, int Index, double C, double M, double Y, double K);
パラメータ
| Index | フォームフィールドのインデックス |
|---|---|
| C | カラーのシアン成分 |
| M | 色のマゼンタ成分 |
| Y | 色の黄色成分 |
| K | 色の黒成分 |
戻り値
| 0 | フォームフィールドが見つかりませんでした 指定したフォームフィールドの背景色が正常に設定されました |
|---|---|
| 1 |