PDFANNOTATION_Hint_Caption
IPDFDocument3 :: Annotations

See Also Example
Collapse All

This property gets or sets a hint for an annotation or other control.

Syntax

BSTR PDFANNOTATION_Hint_Caption { get; set; }
Value
Text string containing the hint

Remarks

This property contains the text string that can appear when the user moves the mouse over the control.

Equivalent in new interface: IPDFDocument4::SetControlHint, IPDFDocument4::ControlUnicodeHint.

Example

Creating an Edit Box

Delphi
[copy to clipboard]
{ PDF object is supposed to be created }
PDF.BeginDoc;
PDF.PDFPAGE_CreateControl_Edit('edt1', 10, 10, 110, 23);
PDF.PDFANNOTATION_Text := 'Text';
PDF.PDFANNOTATION_Hint_Caption := 'Enter your e-mail here';
PDF.EndDoc;
C/C++
[copy to clipboard]
// PDF object is supposed to be created
PDF->BeginDoc();
PDF->PDFPAGE_CreateControl_Edit("edt1", 10, 10, 110, 23);
PDF->PDFANNOTATION_Text = "Text";
PDF->PDFANNOTATION_Hint_Caption = "Enter your e-mail here";
PDF->EndDoc();
C#
[copy to clipboard]
// PDF object is supposed to be created
PDF.BeginDoc();
PDF.PDFPAGE_CreateControl_Edit("edt1", 10, 10, 110, 23);
PDF.PDFANNOTATION_Text = "Text";
PDF.PDFANNOTATION_Hint_Caption = "Enter your e-mail here";
PDF.EndDoc();
Visual Basic
[copy to clipboard]
' PDF object is supposed to be created
PDF.BeginDoc
PDF.PDFPAGE_CreateControl_Edit "edt1", 10, 10, 110, 23
PDF.PDFANNOTATION_Text = "Text"
PDF.PDFANNOTATION_Hint_Caption = "Enter your e-mail here"
PDF.EndDoc

See Also

Reference