v2.38
 
IRichTextParagraph Interface Reference

Represents a text paragraph. More...

Inheritance diagram for IRichTextParagraph:

Public Member Functions

HRESULT AppendToken ([in] RichTextToken token)
 Appends the token to the end.
 
HRESULT GetToken ([in] int index, [out, retval] RichTextToken *pToken)
 Returns the token at the given index.
 
HRESULT InsertToken ([in] int index, [in] RichTextToken token)
 Inserts the token at the given index.
 
HRESULT PrependToken ([in] RichTextToken token)
 Prepends the token.
 
HRESULT RemoveToken ([in] int index)
 Erases the token at the given index. If the paragraph contains only one token, you couldn't delete it.
 

Properties

int TokenCount [get]
 The number of tokens.
 

Detailed Description

Represents a text paragraph.

A text paragraph is a structural element of IRichTextDocument.