GetFormFieldBackgroundColor
Polja obrazaca, boje
Opis
Vraća boju pozadine navedenog polja. Broj dostupnih vrijednosti ovisit će o vrsti boje navedenoj u polju obrasca. Broj dostupnih komponenata može se dohvatiti funkcijom theGetFormFieldBackgroundColorType
0 = No color specified
1 = DeviceGray (1 component)
3 = DeviceRGB (3 components)
4 = CMYK (4 components
Sintaksa
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);
Parametri
| Index | Indeks polja obrasca koje treba pregledati |
|---|---|
| ColorComponent | For DeviceGray (color type = 1) 1 = Gray level For DeviceRGB (color type = 3) 1 = Red 2 = Green 3 = Blue For DeviceCMYK (color type = 4) 1 = Cyan 2 = Magenta 3 = Yellow 4 = Black |