THotPDF.SetFormFieldTooltip Method

Резюме на метода: THotPDF.SetFormFieldTooltip Method

Декларация

procedure SetFormFieldTooltip(const FieldName, Value: AnsiString);

Unit

HPDFDoc

Параметри

NameПредназначение
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