Text property

Sets or returns the contents of a rich text field in text format.

Syntax


C++

HRESULT get_Text(BSTR* pText)

HRESULT put_Text(BSTR myText)

Scripting languages

String = Object.Text

Object.Text =String

Remarks


Text entered into rich-text fields, such as the folder-description field in the Create dialog, is maintained internally as HTML. Getting the Text property returns a string with the HTML tags stripped out. Setting the Text property interprets the string you pass as plain text. If the string contains any HTML tags they appear as part of the string in the eRoom interface.

Home

Applies to

IERURichText


See also

HTML Property