[]
Draws a text box.
public static void DrawTextBox(this GcGraphics g, RectangleF bounds, string text, bool multiLine, TextFormat textFormat, Color backColor, Border border, VariableTextJustification justification, bool required, float orientation)
Public Shared Sub DrawTextBox(g As GcGraphics, bounds As RectangleF, text As String, multiLine As Boolean, textFormat As TextFormat, backColor As Color, border As Border, justification As VariableTextJustification, required As Boolean, orientation As Single)
Type | Name | Description |
---|---|---|
GcGraphics | g | The graphics to draw on. |
RectangleF | bounds | The control bounds. |
string | text | The control text. |
bool | multiLine | Indicates whether the control is multi-line. |
TextFormat | textFormat | The text format to use. |
Color | backColor | The background color. |
Border | border | The border definition. |
VariableTextJustification | justification | The text justification. |
bool | required | Indicates whether to draw the border in red, ignoring the color specified in |
float | orientation | The rotation angle, should be a multiple of 90. |
Draws a text box.
public static void DrawTextBox(this GcGraphics g, RectangleF bounds, string text, bool multiLine, TextFormat textFormat, Color backColor, Border border, VariableTextJustification justification, bool required)
Public Shared Sub DrawTextBox(g As GcGraphics, bounds As RectangleF, text As String, multiLine As Boolean, textFormat As TextFormat, backColor As Color, border As Border, justification As VariableTextJustification, required As Boolean)
Type | Name | Description |
---|---|---|
GcGraphics | g | The graphics to draw on. |
RectangleF | bounds | The control bounds. |
string | text | The control text. |
bool | multiLine | Indicates whether the control is multi-line. |
TextFormat | textFormat | The text format to use. |
Color | backColor | The background color. |
Border | border | The border definition. |
VariableTextJustification | justification | The text justification. |
bool | required | Indicates whether to draw the border in red, ignoring the color specified in |
Draws a text box.
public static void DrawTextBox(this GcGraphics g, RectangleF bounds, string text, bool multiLine, Font font, float fontSize, Color foreColor, Color backColor, Border border, VariableTextJustification justification, bool required, float orientation)
Public Shared Sub DrawTextBox(g As GcGraphics, bounds As RectangleF, text As String, multiLine As Boolean, font As Font, fontSize As Single, foreColor As Color, backColor As Color, border As Border, justification As VariableTextJustification, required As Boolean, orientation As Single)
Type | Name | Description |
---|---|---|
GcGraphics | g | The graphics to draw on. |
RectangleF | bounds | The control bounds. |
string | text | The control text. |
bool | multiLine | Indicates whether the control is multi-line. |
Font | font | The font. |
float | fontSize | The font size. |
Color | foreColor | The fore color. |
Color | backColor | The background color. |
Border | border | The border definition. |
VariableTextJustification | justification | The text justification. |
bool | required | Indicates whether to draw the border in red, ignoring the color specified in |
float | orientation | The rotation angle, should be a multiple of 90. |
Draws a text box.
public static void DrawTextBox(this GcGraphics g, RectangleF bounds, string text, bool multiLine, Font font, float fontSize, Color foreColor, Color backColor, Border border, VariableTextJustification justification, bool required)
Public Shared Sub DrawTextBox(g As GcGraphics, bounds As RectangleF, text As String, multiLine As Boolean, font As Font, fontSize As Single, foreColor As Color, backColor As Color, border As Border, justification As VariableTextJustification, required As Boolean)
Type | Name | Description |
---|---|---|
GcGraphics | g | The graphics to draw on. |
RectangleF | bounds | The control bounds. |
string | text | The control text. |
bool | multiLine | Indicates whether the control is multi-line. |
Font | font | The font. |
float | fontSize | The font size. |
Color | foreColor | The fore color. |
Color | backColor | The background color. |
Border | border | The border definition. |
VariableTextJustification | justification | The text justification. |
bool | required | Indicates whether to draw the border in red, ignoring the color specified in |