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