SetFormFieldColorCMYK

フォームフィールド、カラー

説明

指定したフォームフィールドのテキスト色を設定します。SetFormFieldBorderColor 関数と似ていますが、色成分を CMYK 色空間(Cyan、Magenta、Yellow、Black)で指定します。色パラメーターの値の範囲は 0~1 で、0 は色の 0%、1 は 100% を示します

構文

Delphi

Function TPDFlib.SetFormFieldColorCMYK(Index: Integer; C, M, Y, K: Double): Integer;

ActiveX

Function PDFlib::SetFormFieldColorCMYK(Index As Long, C As Double, M As Double, Y As Double, K As Double) As Long

DLL

int DLSetFormFieldColorCMYK(int InstanceID, int Index, double C, double M, double Y, double K);

パラメータ

Indexフォームフィールドのインデックス
Cカラーのシアン成分
M色のマゼンタ成分
Y色の黄色成分
K色の黒成分

戻り値

0フォームフィールドが見つかりませんでした。指定したフォームフィールドのテキスト色を正常に設定しました
1