Table of Contents

Method Span

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

Span(string)

Adds text to the current paragraph.

public TextSpan Span(string text)

Parameters

text string

The text.

Returns

TextSpan

The added text.

Remarks

This method does not complete the current paragraph. I.e., a next text chunk will be placed in the same paragraph.

The library places text to multiple paragraphs if text contains EOL characters (CRLF, LF, or CR).

Exceptions

ArgumentNullException

text is null.