Method Line
- Namespace
- BitMiracle.Docotic.Pdf.Layout
- Assembly
- BitMiracle.Docotic.Pdf.Layout.dll
Line(string?)
Adds text to the current paragraph and starts the new paragraph.
public TextSpan Line(string? text = null)
Parameters
text
stringOptional text.
null
or empty values mean empty line.
Returns
- TextSpan
The added text.
Remarks
This method completes the current paragraph. I.e., a next text chunk will be placed in the new paragraph.
The library places text to multiple paragraphs if text
contains EOL characters
(CRLF, LF, or CR).