PdfDocumentAddText Method
Adds a text element to the current PDF page. When the
ContinueOnNextPage
property of the element is true, the text that does not fit on the current page continues on the next
pages of the document. The text can contain the {page_number} and {total_pages} placeholders, replaced
with the page number and the page count of the document. A text with placeholders is rendered on the
current page only, even when it continues on the next pages. A text with {total_pages} is rendered when
the document is saved: the returned object has no rendered rectangles and the page callbacks of the
element are called at save time, when the document cannot be changed anymore
Namespace: Winnovative.Pdf.NextAssembly: Winnovative.Pdf.Next (in Winnovative.Pdf.Next.dll) Version: 21.0.3
public PdfTextRenderInfo AddText(
PdfTextElement textElement
)
- textElement PdfTextElement
- The text element to render into the PDF document
PdfTextRenderInfo
A PdfTextRenderInfo object containing information about the pages and bounding boxes
where the text was rendered