ZedGraph LogoZedGraph Class Library Documentation
Draw Method (g, pane, scaleFactor)
NamespacesZedGraphGraphObjDraw(Graphics, PaneBase, Single)
Render this GraphObj object to the specified Graphics device.
Declaration Syntax
C#Visual BasicVisual C++
public abstract void Draw(
	Graphics g,
	PaneBase pane,
	float scaleFactor
)
Public MustOverride Sub Draw ( _
	g As Graphics, _
	pane As PaneBase, _
	scaleFactor As Single _
)
public:
virtual void Draw (
	Graphics^ g, 
	PaneBase^ pane, 
	float scaleFactor
) abstract
Parameters
g (Graphics)
A graphic device object to be drawn into. This is normally e.Graphics from the PaintEventArgs argument to the Paint() method.
pane (PaneBase)
A reference to the PaneBase object that is the parent or owner of this object.
scaleFactor (Single)
The scaling factor to be used for rendering objects. This is calculated and passed down by the parent PaneBase object using the CalcScaleFactor()() method, and is used to proportionally adjust font sizes, etc. according to the actual size of the graph.
Remarks
This method is normally only called by the Draw method of the parent GraphObjList collection object.

Assembly: ZedGraph (Module: ZedGraph) Version: 5.1.0.621