Show / Hide Table of Contents

Class RtfBuilder

Builds an RTF-formatted string with paragraphs.

Inheritance
Object
RtfBuilder
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

Extension Methods

UpdateUtils.To<TIn, TOut>(TIn, Func<TIn, TOut>)
JsonStorage.SaveJson<T>(T, Stream)
JsonStorage.SaveJson<T>(T, String)
JsonStorage.ToJsonString<T>(T)
JsonStorage.ReparseAsJson<T>(Object)
JsonStorage.ReparseAsJson<T>(Object, T)
XmlStorage.SaveXml(Object, Stream, String)
XmlStorage.SaveXml<T>(T, String, String)
XmlStorage.ToXmlString(Object, String)
ConversionUtils.ConvertToString<TType>(TType)
In This Article
Back to top Copyright Bastian Eicher