THotPDF.SetFormFieldTooltip Method

現在のドキュメントで既に作成されている AcroForm フィールドに、PDF の /TU ユーザーヒントを割り当てます

宣言

procedure SetFormFieldTooltip(const FieldName, Value: AnsiString);

ユニット

HPDFDoc

パラメータ

名前目的
FieldName生成されたフィールドリストから探す、既存の AcroForm フィールド名
Value/TU のユーザーヒントとしてフィールドディクショナリに書き込まれるテキスト

使用上の注意

Example

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

Related API