GetFormFieldBackgroundColor

Câmpuri de formular, Culoare

Descriere

Returnează culoarea de fundal a câmpului specificat. Numărul de valori disponibile depinde de tipul de culoare specificat în câmpul de formular. Numărul de componente disponibile poate fi obținut cu funcția GetFormFieldBackgroundColorType

0 = No color specified

1 = DeviceGray (1 component)

3 = DeviceRGB (3 components)

4 = CMYK (4 components

Sintaxă

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

Parametri

IndexIndexul câmpului de formular de examinat
ColorComponentPentru DeviceGray (tip de culoare = 1) 1 = Nivel de gri Pentru DeviceRGB (tip de culoare = 3) 1 = Roșu 2 = Verde 3 = Albastru Pentru DeviceCMYK (tip de culoare = 4) 1 = Cyan 2 = Magenta 3 = Galben 4 = Negru