Click or drag to resize
Pdf Library for .NET

PdfTextElementText Property

The text string that will be added to the pdf document.

Namespace:  SelectPdf
Assembly:  Select.Pdf (in Select.Pdf.dll) Version: 20.2
Syntax
public string Text { get; set; }

Property Value

Type: String
Remarks
If the text element is rendered in a pdf template and {page_number} placeholder appears in this property, it will be replaced with the current pdf page number. By default the page numbering starts with 1. This can be changed using the FirstPageNumber property.

If the text element is rendered in a pdf template and {total_pages} placeholder appears in this property, it will be replaced with the total number of pages in the generated pdf document. The total number of pages can be incremented with a value specified by the TotalPagesOffset property. This could be useful when the generated pdf will be merged with other documents.

See Also