Method Text
- Namespace
- DocWright.Composition
- Assembly
- DocWright.Composition.dll
Text(string)
Places a run of text.
ITextBlock Text(string text)
Parameters
textstringThe text.
Returns
- ITextBlock
The text block, for formatting.
Exceptions
- ArgumentNullException
textis null.
Text(Action<ITextComposer>)
Places text composed of several spans.
ITextBlock Text(Action<ITextComposer> compose)
Parameters
composeAction<ITextComposer>Composes the spans.
Returns
- ITextBlock
The text block, for formatting that applies to all of its spans.
Exceptions
- ArgumentNullException
composeis null.