TextBuilder
Overview
TextBuilder is a class in Aspose.PDF FOSS for .NET.
Appends text fragments to a PDF page by registering fonts in the page resources and writing content stream operators.
This class provides 5 methods for working with TextBuilder objects in .NET programs.
Available methods include: AppendParagraph, AppendText, TextBuilder.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Methods
| Signature | Description |
|---|---|
TextBuilder(page: Page) | Calls TextBuilder on this TextBuilder instance. |
TextBuilder(page: Page, operatorCollection: BaseOperatorCollection) | Construct a TextBuilder bound to a page plus an operator-collection sink. |
AppendText(textFragments: List<TextFragment>) | Append a text fragment to the page. |
AppendText(textFragment: TextFragment) | Calls AppendText on this TextBuilder instance. |
AppendParagraph(textParagraph: TextParagraph) | Append a text paragraph to the page. |