SetFormFieldBackgroundColorGray
Formularfelder, Farbe
Beschreibung
Setzt die Hintergrundfarbe des angegebenen Formularfelds. Ähnlich wie die Funktion SetFormFieldBackgroundColor, nur dass eine einzelne Farbkomponente im Graufarbraum angegeben wird. Mögliche Werte liegen im Bereich 0 bis 1.
Syntax
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);
Parameter
| Index | Der Index des Formularfelds Gray Die Graukomponente |
|---|
Rückgabewerte
| 0 | Das Formularfeld wurde nicht gefunden |
|---|---|
| 1 | Die Hintergrundfarbe des angegebenen Formularfelds wurde erfolgreich festgelegt |