NewChildFormField

Champs de formulaire

Description

Ajoute un nouveau champ de formulaire à la page sélectionnée comme enfant d’un autre champ

Syntaxe

Delphi

Function TPDFlib.NewChildFormField(Index: Integer; Const Title: WideString; FieldType: Integer): Integer;

ActiveX

Function PDFlib::NewChildFormField(Index As Long, Title As String, FieldType As Long) As Long

DLL

int DLNewChildFormField(int InstanceID, int Index, const wchar_t * Title, int FieldType);

Paramètres

IndexIndice du champ parent. Titre du nouveau champ de formulaire. Le titre ne peut pas contenir le caractère point "."
Title
FieldTypeType de champ à créer : 1 = Texte 2 = Bouton-poussoir 3 = Case à cocher 4 = Bouton radio 5 = Choix 6 = Signature 7 = Parent

Valeurs de retour

0Le nouveau champ de formulaire n’a pas pu être créé
Non-zeroLe champ de formulaire a été créé avec succès, et ceci est l'index du nouveau champ