LOTUSSCRIPT/COM/OLE CLASSES

NotesRichTextTable class
Example

Represents a table in a rich text item.

Note This class is new with Release 6.

Containment

Contained by: NotesRichTextItem, NotesRichTextNavigator

Contains: NotesColorObject

Properties

AlternateColor

Color

ColumnCount

RightToLeft

RowCount

RowLabels

Style

Methods

AddRow

Remove

RemoveRow

SetAlternateColor

SetColor

Creation and access

To create a new NotesRichTextTable object, use the AppendTable method in NotesRichTextItem.

To access a NotesRichTextTable object, use the NotesRichTextNavigator methods in conjunction with the type RTELEM_TYPE_TABLE.

To access the cells in a table, use the NotesRichTextNavigator methods in conjunction with the type RTELEM_TYPE_TABLECELL.

The order of cells in a table is by row, then column.

You cannot determine the contents of a cell (text paragraphs, text runs, doclinks, and so on) unless you know the exact structure of the rich text item.

Example
See Also