2D Chart for WinForms | ComponentOne
C1.Win.C1Chart.4.8 Assembly / C1.Win.C1ChartBase Namespace / baseChartStyle Class / DrawContent 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
    DrawContent Method
    In This Topic
    Draws the content at the specified location and with the specified size.
    Syntax
    'Declaration
     
    Public Overridable Sub DrawContent( _
       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 DrawContent( 
       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