Table of Contents

Method Text

Namespace
DocWright.Composition
Assembly
DocWright.Composition.dll

Text(string)

Places a run of text.

ITextBlock Text(string text)

Parameters

text string

The text.

Returns

ITextBlock

The text block, for formatting.

Exceptions

ArgumentNullException

text is null.

Text(Action<ITextComposer>)

Places text composed of several spans.

ITextBlock Text(Action<ITextComposer> compose)

Parameters

compose Action<ITextComposer>

Composes the spans.

Returns

ITextBlock

The text block, for formatting that applies to all of its spans.

Exceptions

ArgumentNullException

compose is null.