 |
PdfTextElementText Property |
Gets or sets the text string to render.
Namespace: SelectPdf.UniversalAssembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntaxpublic string Text { get; set; }Public Property Text As String
Get
Set
Property Value
String
Remarks
If the text element is rendered inside a template / header / footer and contains the
{page_number} placeholder, it will be replaced with the current page number.
Similarly the
{total_pages} placeholder will be replaced with the total page count.
By default the page numbering starts with 1; this can be adjusted through
FirstPageNumber /
TotalPagesOffset.
See Also