Click or drag to resize
Pdf Library for .NET

PdfTextElement(Single, Single, String, PdfFont) Constructor

Creates a text element at (x, y) with the specified text and font. The height is auto-determined and the width is the available page width.

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntax
public PdfTextElement(
	float x,
	float y,
	string text,
	PdfFont font
)

Parameters

x  Single
The X coordinate, in client-area coordinates.
y  Single
The Y coordinate, in client-area coordinates.
text  String
The text to render.
font  PdfFont
The font used to render the text.
See Also