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
isnull
.
Text(string)
Adds text.
public TextSpan Text(string text)
Parameters
text
stringThe 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
isnull
.