AnnRTFText property (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

BSTR AnnRTFText (long hObject, long uFormat);

Overview

Refer to Implementing Annotations.

Remarks

Gets or sets the text (unformatted text or rich text) of an ANN_OBJECT_RTF or ANN_OBJECT_AUTOMATION annotation object.

You must set the Flags property before setting this property. Possible values for the Flags Property, when used with this property, are:

0

ANN_FLAG_SELECTED

ANN_FLAG_NOTTHIS

ANN_FLAG_RECURSE

ANN_FLAG_NOTCONTAINER

ANN_FLAG_NOINVALIDATE

ANN_FLAG_CHECKMENU

To determine whether an error has occurred, check the AnnError property.

See Also

Elements:

AnnTextEdit method, Flags property, AnnGetText method, AnnSetText method, AnnGetAutoText method, RTFTextLength property, AnnSetAutoText method

Topics:

Annotations (Document/Medical only): Object Manipulation