SetFormFieldBorderColorGray

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

説明

指定したフォームフィールドの枠の色を設定します。SetFormFieldBorderColor 関数に似ていますが、Gray カラースペースで 1 つの色成分を指定します。指定できる値は 0 から 1 の範囲です。

構文

Delphi

Function TPDFlib.SetFormFieldBorderColorGray(Index: Integer; G: Double): Integer;

ActiveX

Function PDFlib::SetFormFieldBorderColorGray(Index As Long, Gray As Double) As Long

DLL

int DLSetFormFieldBorderColorGray(int InstanceID, int Index, double Gray);

パラメータ

Indexフォームフィールドのインデックス
G色のグレー成分です。0 から 1 です。DLL と ActiveX のシグネチャではこのパラメータを Gray と名付けています

戻り値

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