Class RTF_DocumentParser
This class parses an entiry RTF document.
Inheritance
System.Object
RTF_DocumentParser
Namespace: FastReport.RichTextParser
Assembly: FastReport.dll
Syntax
public class RTF_DocumentParser : IDisposable
Constructors
RTF_DocumentParser()
RichText document object
Declaration
public RTF_DocumentParser()
Properties
Document
Gets the document.
Declaration
public RichDocument Document { get; }
Property Value
| Type | Description |
|---|---|
| RichDocument |
Methods
Dispose()
Disposes the object.
Declaration
public void Dispose()
GetFillColor()
Declaration
public Color GetFillColor()
Returns
| Type | Description |
|---|---|
| Color |
GetRange(Int32, Int32)
Get RTF structure based on range of elements
Declaration
public RichDocument GetRange(int Start, int Length)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | Start | |
| System.Int32 | Length |
Returns
| Type | Description |
|---|---|
| RichDocument |
Load(Stream)
Declaration
public void Load(Stream stream)
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | stream |
Load(Byte[])
Declaration
public void Load(byte[] bytes)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte[] | bytes |
Load(String)
Declaration
public void Load(string rich_text)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | rich_text |