GetFormFieldBackgroundColor
Bidang formulir, Warna
Deskripsi
Mengembalikan warna background field yang ditentukan. Jumlah nilai yang tersedia bergantung pada tipe warna yang ditentukan di form field. Jumlah komponen yang tersedia bisa diambil dengan fungsi GetFormFieldBackgroundColorType
0 = Tanpa warna yang ditentukan
1 = DeviceGray (1 component)
3 = DeviceRGB (3 components)
4 = CMYK (4 components
Sintaks
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);
Parameter
| Index | Index form field yang akan diperiksa |
|---|---|
| ColorComponent | Untuk DeviceGray (color type = 1) 1 = Level gray Untuk DeviceRGB (color type = 3) 1 = Red 2 = Green 3 = Blue Untuk DeviceCMYK (color type = 4) 1 = Cyan 2 = Magenta 3 = Yellow 4 = Black |