Click or drag to resize
Pdf Library for .NET

PdfTextSection Constructor (Single, Single, String, Font)

Creates a text object that can be added to the header or footer templates of a pdf document.

Namespace:  SelectPdf
Assembly:  Select.Pdf (in Select.Pdf.dll) Version: 20.2
Syntax
public PdfTextSection(
	float x,
	float y,
	string text,
	Font font
)

Parameters

x
Type: SystemSingle
The start X coordinate where the text will be rendered.
y
Type: SystemSingle
The start Y coordinate where the text will be rendered.
text
Type: SystemString
The text to be rendered.
font
Type: System.DrawingFont
The text font.
Remarks
The text element that 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