UnicodeText

concerns

The UnicodeText attribute returns the format-free Unicode text of the RTF text as a string.

 

Syntax

UnicodeText([LanguageID [, RemoveTrailing]])

Return value

Type

Description

String

There may still be control characters in unicode text (e.g. Line breaks, tab chars)

Parameter

Use

Name

Type

Passing

Description

Optional

LanguageID

String

ByVal

Language-ID of the value

Optional

RemoveTrailing

Boolean

ByVal

Leading and trailing spaces and line breaks are removed

Note

If LanguageID is not specified, the dialog language applies.

It should be noted that control characters, tables, etc. present in the RTF are replaced by spaces in the string.

If no text is entered in the underlying RTF, an empty string is returned. Therefore, a check for NoValue always returns False.