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
| Index | Lomakekentän indeksi Gray Harmaa komponentti |
|---|
Paluuarvot
| 0 | Lomakekenttää ei löytynyt |
|---|---|
| 1 | Annetun lomakekentän taustavärin asetus onnistui |