TextArea Constructor (Single, Single, Single, Single, String, Font, Color) |
Constructs a text element that will be rendered in the specified rectangle using the specified font and color.
Namespace:
ExpertPdf.HtmlToPdf
Assembly:
ephtmltopdf (in ephtmltopdf.dll) Version: 17.0.0
Syntax public TextArea(
float x,
float y,
float width,
float height,
string text,
Font font,
Color textColor
)
Public Sub New (
x As Single,
y As Single,
width As Single,
height 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 - height
- Type: SystemSingle
The height 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