GetFormFieldBorderColor
Поля форм, цвет
Описание
Возвращает цвет границы указанного поля; число значений зависит от типа цвета поля, а число составляющих даёт функция GetFormFieldBorderColorType
0 = No color specified
1 = DeviceGray (1 component)
3 = DeviceRGB (3 components)
4 = CMYK (4 components
Синтаксис
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);
Параметры
| Index | Индекс проверяемого поля формы |
|---|---|
| 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 |