Table of Contents

Class RtfBuilder

Namespace
NanoByte.Common.Controls
Assembly
NanoByte.Common.WinForms.dll

Builds an RTF-formatted string with paragraphs.

public sealed class RtfBuilder
Inheritance
object
RtfBuilder
Extension Methods

Properties

IsEmpty

Indicates whether the builder is currently empty (contains no paragraphs).

public bool IsEmpty { get; }

Property Value

bool

Methods

AppendPar(string, RtfColor)

Appends a new paragraph.

public void AppendPar(string text, RtfColor color)

Parameters

text string

The text in the paragraph.

color RtfColor

The color of the text.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.