Lotus Software logo
IBM Lotus Domino Designer 8.5
  Versions 8.5 and 8.5.1






GetFormattedText method

Returns the contents of a rich text item as plain text.

Defined in

NotesRichTextItem

Syntax

plainText$ = notesRichTextItem.GetFormattedText( tabstrip, lineLength% )

Parameters

tabstrip

Boolean. If True, tabs are replaced by spaces in the resulting plain text. If False, tabs are retained.

lineLength%

Integer. Number of characters at which to wrap (carriage return and line feed) lines of text. Zero means 80 characters. Words without white space are not wrapped.

Return value

plainText$

String. The contents of the rich text item, as plain text.

Usage

This method omits non-text data, such as bitmaps and file attachments.

Use GetUnformattedText if you don't want to wrap or strip tabs.

Language cross-reference

getFormattedText method Java RichTextItem class

@Text function in formula language

@Abstract function in formula language

See examples

Examples: GetFormattedText method
Related topics
Getting text renditions of rich text items in LotusScript classes




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009