SetFormFieldBackgroundColorGray

Champs de formulaire, couleur

Description

Définit la couleur d’arrière-plan du champ de formulaire spécifié. Cette fonction est semblable à SetFormFieldBackgroundColor, mais une seule composante est indiquée dans l’espace colorimétrique Gray. Les valeurs possibles vont de 0 à 1

Syntaxe

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

Paramètres

IndexIndice du champ de formulaire Gray Composante grise

Valeurs de retour

0Le champ de formulaire est introuvable
1La couleur d’arrière-plan du champ de formulaire indiqué a été définie