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 = Cross 1 = Check (Tick) 2 = Dot (Radio) 3 = XP check 4 = XP Radio 5 = Diamond 6 = Square 7 = Star
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