Spread Windows Forms 7.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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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