Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / GcGraphicsExt Class / DrawCheckBox Method / DrawCheckBox(GcGraphics,RectangleF,Boolean,Font,Single,Color,Color,Border,String) Method
The graphics to draw on.
The check mark bounds.
The check mark value.
The font to use, can be null in which case StandardFonts.ZapfDingbats will be used.
The font size, can be 0 in which case it will be selected automatically to fit into the specified bounds.
The foreground color.
The background color.
The border definition.
The text to use for the check mark.

In This Topic
    DrawCheckBox(GcGraphics,RectangleF,Boolean,Font,Single,Color,Color,Border,String) Method
    In This Topic
    Draws a PDF check mark.
    Syntax
    'Declaration
     
    Public Overloads Shared Sub DrawCheckBox( _
       ByVal g As GcGraphics, _
       ByVal bounds As System.Drawing.RectangleF, _
       ByVal value As System.Boolean, _
       ByVal font As Font, _
       ByVal fontSize As System.Single, _
       ByVal foreColor As System.Drawing.Color, _
       ByVal backColor As System.Drawing.Color, _
       ByVal border As Border, _
       Optional ByVal checkMark As System.String _
    ) 
    public static void DrawCheckBox( 
       GcGraphics g,
       System.Drawing.RectangleF bounds,
       System.bool value,
       Font font,
       System.float fontSize,
       System.Drawing.Color foreColor,
       System.Drawing.Color backColor,
       Border border,
       System.string checkMark
    )

    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.
    checkMark
    The text to use for the check mark.
    See Also