|
PdfTextElement Constructor (Single, Single, String, PdfFont) |
Creates a text object that can be added to a pdf document.
Namespace:
SelectPdf
Assembly:
Select.Pdf (in Select.Pdf.dll) Version: 24.1
Syntax public PdfTextElement(
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
- 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: SelectPdfPdfFont
The text font. To support Unicode texts, the true type fonts must be embedded in the pdf document when they are added.
Remarks
The text element that will be rendered at the specified (x,y) position using the specified font.
The height of the rendered text will be auto-determined. The width is the available width in page.
See Also