Click or drag to resize
Pdf Library for .NET

PdfTextElementText Property

Gets or sets the text string to render.

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntax
public string Text { 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