SetFormFieldBackgroundColorGray

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

説明

指定フォームフィールドの背景色を設定する。SetFormFieldBackgroundColor 関数と似ているが、Gray 色空間で単一の色成分を指定する。指定可能な値は 0 ~ 1 の範囲

構文

Delphi

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

ActiveX

Function PDFlib::SetFormFieldBackgroundColorGray(Index As Long, gray As Double) As Long

DLL

int DLSetFormFieldBackgroundColorGray(int InstanceID, int Index, double gray);

パラメータ

Indexフォームフィールドのインデックス Gray グレー成分

戻り値

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