DrawTextBox(GcGraphics,RectangleF,String,Boolean,TextFormat,Color,Border,VariableTextJustification,Boolean) Method
In This Topic
Draws a text box.
Syntax
'Declaration
Public Overloads Shared Sub DrawTextBox( _
ByVal As GcGraphics, _
ByVal As System.Drawing.RectangleF, _
ByVal As System.String, _
ByVal As System.Boolean, _
ByVal As TextFormat, _
ByVal As System.Drawing.Color, _
ByVal As Border, _
ByVal As VariableTextJustification, _
ByVal As System.Boolean _
)
public static void DrawTextBox(
GcGraphics ,
System.Drawing.RectangleF ,
System.string ,
System.bool ,
TextFormat ,
System.Drawing.Color ,
Border ,
VariableTextJustification ,
System.bool
)
Parameters
- g
- The graphics to draw on.
- bounds
- The control bounds.
- text
- The control text.
- multiLine
- Indicates whether the control is multi-line.
- textFormat
- The text format to use.
- backColor
- The background color.
- border
- The border definition.
- justification
- The text justification.
- required
- Indicates whether to draw the border in red, ignoring the color specified in .
See Also