Spread Windows Forms 17
FarPoint.Win.Chart Assembly / FarPoint.Win.Chart Namespace / Chart3DRenderer Class / Paint Method / Paint(Graphics,RectangleF,ChartModel,Color,Image,ImageLayout) Method
Graphics context
Rectangle to paint in.
Chart model to paint.
The back color.
The background image.
The background image layout.


In This Topic
    Paint(Graphics,RectangleF,ChartModel,Color,Image,ImageLayout) Method
    In This Topic
    Renderers a 3D view of a chart model using OpenGL rendering.
    Syntax
    'Declaration
     
    
    Public Overloads Sub Paint( _
       ByVal g As Graphics, _
       ByVal rectangle As RectangleF, _
       ByVal model As ChartModel, _
       ByVal backColor As Color, _
       ByVal backgroundImg As Image, _
       ByVal backgroundImgLayout As ImageLayout _
    ) 
    'Usage
     
    
    Dim instance As Chart3DRenderer
    Dim g As Graphics
    Dim rectangle As RectangleF
    Dim model As ChartModel
    Dim backColor As Color
    Dim backgroundImg As Image
    Dim backgroundImgLayout As ImageLayout
     
    instance.Paint(g, rectangle, model, backColor, backgroundImg, backgroundImgLayout)

    Parameters

    g
    Graphics context
    rectangle
    Rectangle to paint in.
    model
    Chart model to paint.
    backColor
    The back color.
    backgroundImg
    The background image.
    backgroundImgLayout
    The background image layout.
    See Also