DrawCheckBox(GcGraphics,RectangleF,Boolean,Font,Single,Color,Color,Border,Single,String) Method
In This Topic
Draws a PDF check mark.
Syntax
'Declaration
Public Overloads Shared Sub DrawCheckBox( _
ByVal As GcGraphics, _
ByVal As System.Drawing.RectangleF, _
ByVal As System.Boolean, _
ByVal As Font, _
ByVal As System.Single, _
ByVal As System.Drawing.Color, _
ByVal As System.Drawing.Color, _
ByVal As Border, _
ByVal As System.Single, _
Optional ByVal As System.String _
)
public static void DrawCheckBox(
GcGraphics ,
System.Drawing.RectangleF ,
System.bool ,
Font ,
System.float ,
System.Drawing.Color ,
System.Drawing.Color ,
Border ,
System.float ,
System.string
)
Parameters
- g
- The graphics to draw on.
- bounds
- The check mark bounds.
- value
- The check mark value.
- font
- The font to use, can be null in which case StandardFonts.ZapfDingbats will be used.
- fontSize
- The font size, can be 0 in which case it will be selected automatically to fit into the specified bounds.
- foreColor
- The foreground color.
- backColor
- The background color.
- border
- The border definition.
- orientation
- The rotation angle, should be a multiple of 90.
- checkMark
- The text to use for the check mark.
See Also