Table of Contents

Method Text

Namespace
BitMiracle.Docotic.Pdf.Layout
Assembly
BitMiracle.Docotic.Pdf.Layout.dll

Text(Action<TextContainer>)

Adds text.

public void Text(Action<TextContainer> text)

Parameters

text Action<TextContainer>

The text layout.

Remarks

Read the Text section of the Containers and their content article for examples of using this method.

Exceptions

ArgumentNullException

text is null.

Text(string)

Adds text.

public TextSpan Text(string text)

Parameters

text string

The text to render.

Returns

TextSpan

The text element.

Remarks

Read the Text section of the Containers and their content article for examples of using this method.

Exceptions

ArgumentNullException

text is null.