SetAnnotText
IPDFDocument4 :: Annotations

See Also
Collapse All

This method sets the ASCII text value for ComboBox, edit, or text annotation controls.

Syntax

HRESULT SetAnnotText (
BSTR text,
FontCharset charset
)
Parameters
text
String containing ASCII text

charset
Character set of the text

Return value
If successful, this method returns S_OK. If it fails, this method should return one of the error values.

Remarks

This property indicates the default text string for an edit control, the currently selected option for a ComboBox control, or the pop-up text in text annotation windows. For text annotation controls, carriage returns in the text may be used to separate the text into paragraphs.

See Also

Reference