GetFormFieldBorderColor
Lomakekentät, väri
Kuvaus
Palauttaa annetun kentän reunuksen värin. Saatavilla olevien arvojen määrä riippuu lomakekentässä määritellystä värintyypistä. Komponenttien määrän voi hakea funktiolla GetFormFieldBorderColorType
0 = No color specified
1 = DeviceGray (1 component)
3 = DeviceRGB (3 components)
4 = CMYK (4 components
Syntaksi
Delphi
Function TPDFlib.GetFormFieldBorderColor(Index, ColorComponent: Integer): Double;
ActiveX
Function PDFlib::GetFormFieldBorderColor(Index As Long, ColorComponent As Long) As Double
DLL
double DLGetFormFieldBorderColor(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 |