TextArea Constructor (Single, Single, Single, String, Font, Color) |
Constructs a text element that will be rendered at the specified (x,y) position using the specified width, font and color.
The height of the rendered text will be auto-determined.
Namespace:
ExpertPdf.HtmlToPdf
Assembly:
ephtmltopdf (in ephtmltopdf.dll) Version: 17.0.0
Syntax public TextArea(
float x,
float y,
float width,
string text,
Font font,
Color textColor
)
Public Sub New (
x As Single,
y As Single,
width As Single,
text As String,
font As Font,
textColor As Color
)
Parameters
- x
- Type: SystemSingle
The start x coordinate where the text will be rendered - y
- Type: SystemSingle
The start y coordinate where the text - width
- Type: SystemSingle
The width of the destination rectangle - text
- Type: SystemString
The text to be rendered - font
- Type: System.DrawingFont
The text font - textColor
- Type: System.DrawingColor
The text color
See Also