THotPDF.SetFormFieldTooltip Method

方法摘要: THotPDF.SetFormFieldTooltip Method/TU

宣告

procedure SetFormFieldTooltip(const FieldName, Value: AnsiString);

單元

HPDFDoc

參數

名稱用途
FieldName要在已產生欄位清單中尋找的既有 AcroForm 欄位名稱
值寫入欄位字典、作為 /TU 使用者提示的文字/TU user hint

使用說明

範例

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

相關 API