2D Chart for WinForms | ComponentOne
C1.Win.C1Chart.4.8 Assembly / C1.Win.C1ChartBase Namespace / baseChartStyle Class / Draw Method / Draw(Graphics,Rectangle,String,Image) Method
A System.Drawing.Graphics object that encapsulates a GDI+ drawing surface.
The rectangle area to draw.
The string to draw.
The image to draw.

In This Topic
    Draw(Graphics,Rectangle,String,Image) Method
    In This Topic
    Draws the content at the specified location and with the specified size.
    Syntax
    'Declaration
     
    Public Overloads Overridable Sub Draw( _
       ByVal g As System.Drawing.Graphics, _
       ByVal r As System.Drawing.Rectangle, _
       ByVal s As System.String, _
       ByVal img As System.Drawing.Image _
    ) 
    public virtual void Draw( 
       System.Drawing.Graphics g,
       System.Drawing.Rectangle r,
       System.string s,
       System.Drawing.Image img
    )

    Parameters

    g
    A System.Drawing.Graphics object that encapsulates a GDI+ drawing surface.
    r
    The rectangle area to draw.
    s
    The string to draw.
    img
    The image to draw.
    See Also