SetFormFieldBackgroundColorGray

Lomakekentät, väri

Kuvaus

Asettaa annetun lomakekentän taustavärin. Muistuttaa SetFormFieldBackgroundColor-funktiota, mutta yksi värikomponentti annetaan Gray-väriavaruudessa. Mahdolliset arvot ovat välillä 0–1

Syntaksi

Delphi

Function TPDFlib.SetFormFieldBackgroundColorGray(Index: Integer; G: Double): Integer;

ActiveX

Function PDFlib::SetFormFieldBackgroundColorGray(Index As Long, gray As Double) As Long

DLL

int DLSetFormFieldBackgroundColorGray(int InstanceID, int Index, double gray);

Parametrit

IndexLomakekentän indeksi Gray Harmaa komponentti

Paluuarvot

0Lomakekenttää ei löytynyt
1Annetun lomakekentän taustavärin asetus onnistui