TextArea(Single, Single, Single, String, Font, Color) Constructor |
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.HtmlToPdfAssembly: ephtmltopdf (in ephtmltopdf.dll) Version: 21.1.0
Syntaxpublic 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 Single
- The start x coordinate where the text will be rendered
- y Single
- The start y coordinate where the text
- width Single
- The width of the destination rectangle
- text String
- The text to be rendered
- font Font
- The text font
- textColor Color
- The text color
See Also