GetFormFieldBackgroundColor
Lomakekentät, väri
Kuvaus
Palauttaa annetun kentän taustavärin. Saatavilla olevien arvojen määrä riippuu lomakekentässä määritellystä värintyypistä. Komponenttien määrän voi hakea funktiolla GetFormFieldBackgroundColorType
0 = No color specified
1 = DeviceGray (1 component)
3 = DeviceRGB (3 components)
4 = CMYK (4 components
Syntaksi
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);
Parametrit
| Index | Tutkittavan lomakekentän indeksi |
|---|---|
| ColorComponent | DeviceGraylle (värityyppi = 1) 1 = harmaataso DeviceRGBlle (värityyppi = 3) 1 = punainen 2 = vihreä 3 = sininen DeviceCMYKlle (värityyppi = 4) 1 = syaani 2 = magenta 3 = keltainen 4 = musta |