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
textAction<TextContainer>The text layout.
Remarks
Read the Text section of the Containers and their content article for examples of using this method.
Exceptions
- ArgumentNullException
textisnull.
Text(string)
Adds text.
public TextSpan Text(string text)
Parameters
textstringThe 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
textisnull.