Spread Windows Forms 15.0
FarPoint.Win.Chart Assembly / FarPoint.Win.Chart Namespace / FpChart Class / Render Method
A Graphics object that is associated with a specific device context.
A ChartModel object.
Specifies the location and size.
Specifies whether selection is rendered or not.


In This Topic
    Render Method (FpChart)
    In This Topic
    Renders the chart to a graphic.
    Syntax
    'Declaration
     
    
    Public Overridable Sub Render( _
       ByVal g As Graphics, _
       ByVal model As ChartModel, _
       ByVal r As Rectangle, _
       ByVal drawSelection As Boolean _
    ) 
    'Usage
     
    
    Dim instance As FpChart
    Dim g As Graphics
    Dim model As ChartModel
    Dim r As Rectangle
    Dim drawSelection As Boolean
     
    instance.Render(g, model, r, drawSelection)
    public virtual void Render( 
       Graphics g,
       ChartModel model,
       Rectangle r,
       bool drawSelection
    )

    Parameters

    g
    A Graphics object that is associated with a specific device context.
    model
    A ChartModel object.
    r
    Specifies the location and size.
    drawSelection
    Specifies whether selection is rendered or not.
    See Also