SetFormFieldTextFlags

Champs de formulaire

Description

Définit diverses options des champs de formulaire de texte

Syntaxe

Delphi

Function TPDFlib.SetFormFieldTextFlags(Index, Multiline, Password, FileSelect, DoNotSpellCheck, DoNotScroll: Integer): Integer;

ActiveX

Function PDFlib::SetFormFieldTextFlags(Index As Long, Multiline As Long, Password As Long, FileSelect As Long, DoNotSpellCheck As Long, DoNotScroll As Long) As Long

DLL

int DLSetFormFieldTextFlags(int InstanceID, int Index, int Multiline, int Password, int FileSelect, int DoNotSpellCheck, int DoNotScroll);

Paramètres

IndexL'index du champ de formulaire à traiter Le premier champ de formulaire porte l'index 1
Multiline0 = Texte d'un champ limité à une ligne 1 = Plusieurs lignes autorisées 0 = Pas un champ de mot de passe 1 = Mot de passe, caractères affichés comme astérisques
Password0 = Le champ n'est pas un sélecteur de fichier 1 = Le contenu du fichier indiqué par le texte saisi sera envoyé comme valeur du champ
FileSelect
DoNotSpellCheck0 = le champ est soumis à la vérification orthographique 1 = le champ ne l’est pas
DoNotScroll0 = le champ peut défiler 1 = le champ ne peut pas défiler

Valeurs de retour

0Le champ de formulaire est introuvable Les options du champ de texte ont été définies avec succès
1int DoNotScroll);