GetFormFieldBackgroundColor

Поля форм, цвет

Описание

Возвращает цвет фона указанного поля; число значений зависит от типа цвета поля, а число составляющих даёт функция GetFormFieldBackgroundColorType

0 = No color specified

1 = DeviceGray (1 component)

3 = DeviceRGB (3 components)

4 = CMYK (4 components

Синтаксис

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);

Параметры

IndexИндекс проверяемого поля формы
ColorComponentFor 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