 |
PdfTextSection(Single, Single, String, PdfFont) Constructor |
Creates a text object that can be added to the header or footer templates of a pdf document.
Namespace: SelectPdf.UniversalAssembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntaxpublic PdfTextSection(
float x,
float y,
string text,
PdfFont font
)
Public Sub New (
x As Single,
y As Single,
text As String,
font As PdfFont
)
Parameters
- x Single
- The start X coordinate where the text will be rendered.
- y Single
- The start Y coordinate where the text will be rendered.
- text String
- The text to be rendered.
- font PdfFont
- The text font.
Remarks
The text element will be rendered at the specified (x,y) position in the pdf header or footer using the specified font.
The height of the rendered text will be auto-determined. The width is the available width in page.
See Also