v2.38
 
IRichTextDocument Interface Reference

Represents a text in RTF format. More...

Inheritance diagram for IRichTextDocument:

Public Member Functions

HRESULT AppendParagraph ([in] SAFEARRAY(RichTextToken) data, [out, retval] IRichTextParagraph **ppParagraph)
 Appends the paragraph to the end. Data array must contains at least one RichTextToken.
 
HRESULT GetParagraph ([in] int index, [out, retval] IRichTextParagraph **ppParagraph)
 Returns the paragraph at the given index.
 
HRESULT InsertParagraph ([in] int index, [in] SAFEARRAY(RichTextToken) data, [out, retval] IRichTextParagraph **ppParagraph)
 Inserts the paragraph at the given index. Data array must contains at least one RichTextToken.
 
HRESULT PrependParagraph ([in] SAFEARRAY(RichTextToken) data, [out, retval] IRichTextParagraph **ppParagraph)
 Prepends the paragraph. Data array must contains at least one RichTextToken.
 
HRESULT RemoveParagraph ([in] int index)
 Erases the paragraph at the given index.
 

Properties

int ParagraphCount [get]
 The number of paragraphs.
 

Detailed Description

Represents a text in RTF format.