SetFormFieldCheckStyle

Champs de formulaire

Description

Définit le style de coche des cases à cocher ou sous-champs de boutons radio

Syntaxe

Delphi

Function TPDFlib.SetFormFieldCheckStyle(Index, CheckStyle, Position: Integer): Integer;

ActiveX

Function PDFlib::SetFormFieldCheckStyle(Index As Long, CheckStyle As Long, Position As Long) As Long

DLL

int DLSetFormFieldCheckStyle(int InstanceID, int Index, int CheckStyle, int Position);

Paramètres

IndexL'index du champ de formulaire à traiter Le premier champ de formulaire porte l'index 1
CheckStyle0 = Croix 1 = Coche (Tick) 2 = Point (Radio) 3 = Coche XP 4 = Radio XP 5 = Losange 6 = Carré 7 = Étoile
Position0 = aligner à gauche 1 = centrer 2 = aligner à droite

Valeurs de retour

0L’un des paramètres n’était pas valide
1Le style de coche a été défini