GetFormFieldBackgroundColor

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

説明

指定したフィールドの背景色を返します。使用可能な値の数は、フォームフィールドに指定した色形式によって異なります。使用可能な成分数は theGetFormFieldBackgroundColorType 関数を使用して取得できます

0 = カラー指定なし

1 = DeviceGray(1 成分)

3 = DeviceRGB(3 成分)

4 = CMYK(4 成分

構文

Delphi

Function TPDFlib.GetFormFieldBackgroundColor(Index, ColorComponent: Integer): Double;

ActiveX

Function PDFlib::GetFormFieldBackgroundColor(Index As Long, ColorComponent As Long) As Double

DLL

double DLGetFormFieldBackgroundColor(int InstanceID, int Index, int ColorComponent);

パラメータ

Index調査するフォームフィールドのインデックス
ColorComponentDeviceGray(色型 = 1)の場合 1 = グレーレベル DeviceRGB(色型 = 3)の場合 1 = 赤 2 = 緑 3 = 青 DeviceCMYK(色型 = 4)の場合 1 = シアン 2 = マゼンタ 3 = 黄 4 = 黒