Class RtfBuilder
Builds an RTF-formatted string with paragraphs.
Namespace: NanoByte.Common.Controls
Assembly: NanoByte.Common.WinForms.dll
Syntax
public sealed class RtfBuilder : Object
Constructors
RtfBuilder()
Declaration
public RtfBuilder()
Properties
IsEmpty
Indicates whether the builder is currently empty (contains no paragraphs).
Declaration
public bool IsEmpty { get; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
AppendPar(String, RtfColor)
Appends a new paragraph.
Declaration
public void AppendPar(string text, RtfColor color)
Parameters
Type | Name | Description |
---|---|---|
String | text | The text in the paragraph. |
RtfColor | color | The color of the text. |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |