[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.GcGraphicsExt.DrawCombTextBox

DrawCombTextBox Method

DrawCombTextBox(GcGraphics, RectangleF, string, int, TextFormat, Color, Border, VariableTextJustification, bool, float)

Draws a CombTextBox.

Declaration
public static void DrawCombTextBox(this GcGraphics g, RectangleF bounds, string text, int maxLen, TextFormat textFormat, Color backColor, Border border, VariableTextJustification justification, bool required, float orientation)
Public Shared Sub DrawCombTextBox(g As GcGraphics, bounds As RectangleF, text As String, maxLen As Integer, textFormat As TextFormat, backColor As Color, border As Border, justification As VariableTextJustification, required As Boolean, orientation As Single)
Parameters
Type Name Description
GcGraphics g

The graphics to draw on.

RectangleF bounds

The control bounds.

string text

The control text.

int maxLen

The maximum text length.

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 border.

float orientation

The rotation angle, should be a multiple of 90.

DrawCombTextBox(GcGraphics, RectangleF, string, int, TextFormat, Color, Border, VariableTextJustification, bool)

Draws a CombTextBox.

Declaration
public static void DrawCombTextBox(this GcGraphics g, RectangleF bounds, string text, int maxLen, TextFormat textFormat, Color backColor, Border border, VariableTextJustification justification, bool required)
Public Shared Sub DrawCombTextBox(g As GcGraphics, bounds As RectangleF, text As String, maxLen As Integer, textFormat As TextFormat, backColor As Color, border As Border, justification As VariableTextJustification, required As Boolean)
Parameters
Type Name Description
GcGraphics g

The graphics to draw on.

RectangleF bounds

The control bounds.

string text

The control text.

int maxLen

The maximum text length.

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 border.

DrawCombTextBox(GcGraphics, RectangleF, string, int, Font, float, Color, Color, Border, VariableTextJustification, bool, float)

Draws a CombTextBox.

Declaration
public static void DrawCombTextBox(this GcGraphics g, RectangleF bounds, string text, int maxLen, Font font, float fontSize, Color foreColor, Color backColor, Border border, VariableTextJustification justification, bool required, float orientation)
Public Shared Sub DrawCombTextBox(g As GcGraphics, bounds As RectangleF, text As String, maxLen As Integer, font As Font, fontSize As Single, foreColor As Color, backColor As Color, border As Border, justification As VariableTextJustification, required As Boolean, orientation As Single)
Parameters
Type Name Description
GcGraphics g

The graphics to draw on.

RectangleF bounds

The control bounds.

string text

The control text.

int maxLen

The maximum text length.

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 border.

float orientation

The rotation angle, should be a multiple of 90.

DrawCombTextBox(GcGraphics, RectangleF, string, int, Font, float, Color, Color, Border, VariableTextJustification, bool)

Draws a CombTextBox.

Declaration
public static void DrawCombTextBox(this GcGraphics g, RectangleF bounds, string text, int maxLen, Font font, float fontSize, Color foreColor, Color backColor, Border border, VariableTextJustification justification, bool required)
Public Shared Sub DrawCombTextBox(g As GcGraphics, bounds As RectangleF, text As String, maxLen As Integer, font As Font, fontSize As Single, foreColor As Color, backColor As Color, border As Border, justification As VariableTextJustification, required As Boolean)
Parameters
Type Name Description
GcGraphics g

The graphics to draw on.

RectangleF bounds

The control bounds.

string text

The control text.

int maxLen

The maximum text length.

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 border.