Class TextContainer
- Namespace
- BitMiracle.Docotic.Pdf.Layout
- Assembly
- BitMiracle.Docotic.Pdf.Layout.dll
A container for text content.
public sealed class TextContainer
- Inheritance
-
TextContainer
- Inherited Members
Methods
- AlignCenter()
Horizontally aligns elements to the center.
- AlignLeft()
Horizontally aligns elements to the left.
- AlignRight()
Horizontally aligns elements to the right.
- CurrentPageNumber(string?)
Adds the current page number to the current paragraph.
- Element()
Adds an arbitrary content to the current paragraph.
- FirstPageNumber(string)
Adds the number of first section page to the current paragraph.
- Hyperlink(string, Uri)
Adds hyperlink to the current paragraph.
- LastPageNumber(string)
Adds the number of last section page to the current paragraph.
- Line(string?)
Adds text to the current paragraph and starts the new paragraph.
- PageCount(string?)
Adds the total number of pages to the current paragraph.
- ParagraphSpacing(double)
Sets the spacing between different text blocks.
- SectionLink(string, string)
Adds the link to the given section.
- Span(string)
Adds text to the current paragraph.
- Style(TextStyle)
Sets the text style.
- Style(Func<Typography, TextStyle>)
Sets the text style.