GetFormFieldBackgroundColor
Skjemafelt, Farge
Beskrivelse
Returnerer bakgrunnsfargen til det angitte feltet. Antall tilgjengelige verdier avhenger av fargetypen angitt i skjemafeltet. Antall tilgjengelige komponenter kan hentes med GetFormFieldBackgroundColorType-funksjonen
0 = No color specified
1 = DeviceGray (1 component)
3 = DeviceRGB (3 components)
4 = CMYK (4 components
Syntaks
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);
Parametere
| Index | Indeksen til skjemafeltet som skal undersøkes |
|---|---|
| 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 |