AnnGetText method (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

BSTR AnnGetText(long hObject);

Overview

Refer to Implementing Annotations.

Remarks

(Document/Medical only) Gets the text (character string) of the specified annotation object.

Note:

The text of the ruler object (which can be retrieved through AnnGetText is the length + unit abbrev. The distance is reset every time the object is changed.

AnnGetText can be used to retreive the text from a Rich Text annotation object (ANN_OBJECT_RTF). However, no formatting information will be preserved. To retrieve the text with formatting, see AnnRTFText.

See Also

Elements

AnnAutoSnapCursor property, AnnTextEdit method, AnnSetText method, AnnGetAutoText method, AnnSetAutoText method

Topics

Annotations (Document/Medical only): Object Manipulation

 

Obtaining Annotation Object Information