 |
PdfTextElement(Single, Single, Single, Single, String, PdfFont) Constructor |
Creates a text element at (x, y) with the specified width and height, text, and font.
Namespace: SelectPdf.UniversalAssembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntaxpublic PdfTextElement(
float x,
float y,
float width,
float height,
string text,
PdfFont font
)
Public Sub New (
x As Single,
y As Single,
width As Single,
height As Single,
text As String,
font As PdfFont
)
Parameters
- x Single
- The X coordinate, in client-area coordinates.
- y Single
- The Y coordinate, in client-area coordinates.
- width Single
- The width of the text layout rectangle.
- height Single
- The height of the text layout rectangle. Text that exceeds this height
is returned via RemainingText.
- text String
- The text to render.
- font PdfFont
- The font used to render the text.
See Also