Spread Windows Forms 11.0 Product Documentation
Paint(Graphics,RectangleF,ChartModel,Color,Image,ImageLayout) Method


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.
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)
public void Paint( 
   Graphics g,
   RectangleF rectangle,
   ChartModel model,
   Color backColor,
   Image backgroundImg,
   ImageLayout 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

Reference

Chart3DRenderer Class
Chart3DRenderer Members
Overload List