THotPDF.SetFormFieldTooltip Method

ملخص الطريقة: THotPDF.SetFormFieldTooltip Method

التصريح

procedure SetFormFieldTooltip(const FieldName, Value: AnsiString);

وحدة

HPDFDoc

المعاملات

الاسمالغرض
FieldNameExisting AcroForm field name to find in the generated field list
ValueText written to the field dictionary as the /TU user hint

ملاحظات الاستخدام

Example

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

Related API