AnnRTFText property (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

AnsiString AnnRTFText[HANNOBJECT hObject][unsigned uFormat]

Delphi Syntax

AnnRTFText [hObject: HANNOBJECT; uFormat: L_UINT]: String

Overview

Refer to Implementing Annotations.

Remarks

Gets or sets the text (unformatted text or rich text) of an ANNOBJECT_RTF or ANNOBJECT_AUTOMATION annotation object.

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

0

ANNFLAG_SELECTED

ANNFLAG_NOTTHIS

ANNFLAG_RECURSE

ANNFLAG_NOTCONTAINER

ANNFLAG_NOINVALIDATE

ANNFLAG_CHECKMENU

See Also

Elements:

AnnFlags property, AnnGetText method, AnnSetText method, AnnGetAutoText method, AnnRTFTextLength property, AnnSetAutoText method

Topics:

Annotations: Object Manipulation