[]
Draws a PDF check mark.
public static void DrawCheckBox(this GcGraphics g, RectangleF bounds, bool value, Font font, float fontSize, Color foreColor, Color backColor, Border border, float orientation, string checkMark = null)
Public Shared Sub DrawCheckBox(g As GcGraphics, bounds As RectangleF, value As Boolean, font As Font, fontSize As Single, foreColor As Color, backColor As Color, border As Border, orientation As Single, Optional checkMark As String = Nothing)
Type | Name | Description |
---|---|---|
GcGraphics | g | The graphics to draw on. |
RectangleF | bounds | The check mark bounds. |
bool | value | The check mark value. |
Font | font | The font to use, can be null in which case ZapfDingbats will be used. |
float | fontSize | The font size, can be 0 in which case it will be selected automatically to fit into the specified bounds. |
Color | foreColor | The foreground color. |
Color | backColor | The background color. |
Border | border | The border definition. |
float | orientation | The rotation angle, should be a multiple of 90. |
string | checkMark | The text to use for the check mark. |
Draws a PDF check mark.
public static void DrawCheckBox(this GcGraphics g, RectangleF bounds, bool value, Font font, float fontSize, Color foreColor, Color backColor, Border border, string checkMark = null)
Public Shared Sub DrawCheckBox(g As GcGraphics, bounds As RectangleF, value As Boolean, font As Font, fontSize As Single, foreColor As Color, backColor As Color, border As Border, Optional checkMark As String = Nothing)
Type | Name | Description |
---|---|---|
GcGraphics | g | The graphics to draw on. |
RectangleF | bounds | The check mark bounds. |
bool | value | The check mark value. |
Font | font | The font to use, can be null in which case ZapfDingbats will be used. |
float | fontSize | The font size, can be 0 in which case it will be selected automatically to fit into the specified bounds. |
Color | foreColor | The foreground color. |
Color | backColor | The background color. |
Border | border | The border definition. |
string | checkMark | The text to use for the check mark. |