GetFormFieldBorderColor
Formulářová pole, barva
Popis
Vrací barvu okraje zadaného pole. Počet dostupných hodnot závisí na typu barvy zadaném ve formulářovém poli. Počet dostupných složek lze získat funkcí GetFormFieldBorderColorType
0 = No color specified
1 = DeviceGray (1 component)
3 = DeviceRGB (3 components)
4 = CMYK (4 components
Syntaxe
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);
Parametry
| Index | Index pole formuláře, které se má prozkoumat |
|---|---|
| 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 |