THotPDF.SetFormFieldTooltip Method

Affecte l’aide utilisateur PDF /TU d’un champ AcroForm déjà créé dans le document actuel

Déclaration

procedure SetFormFieldTooltip(const FieldName, Value: AnsiString);

Unité

HPDFDoc

Paramètres

NomObjectif
FieldNameExisting AcroForm field name to find in the generated field list
ValueTexte écrit dans le dictionnaire du champ comme aide utilisateur /TU

Notes d'utilisation

Exemple

HPDF.BeginDoc;
HPDF.AddPage;
HPDF.CurrentPage.AddTextField('CustomerName', '', Rect(50, 100, 250, 120));
HPDF.SetFormFieldTooltip('CustomerName', 'Customer name');
HPDF.EndDoc;

API associées