Spread Windows Forms 6.0 Product Documentation
Paint(Graphics,RectangleF,ChartModel,Color,Image,ImageLayout) Method
See Also  Support Options
FarPoint.Win.Chart Assembly > FarPoint.Win.Chart Namespace > Chart3DRenderer Class > Paint Method : Paint(Graphics,RectangleF,ChartModel,Color,Image,ImageLayout) Method


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

Glossary Item Box

Renderers a 3D view of a chart model using OpenGL rendering.

Syntax

Visual Basic (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 _
) 
Visual Basic (Usage)Copy Code
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)
C# 
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 img.
backgroundImgLayout
The background img layout.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.