ZedGraph LogoZedGraph Class Library Documentation
Draw Method (g, pane, curve, scaleFactor, isSelected)
NamespacesZedGraphSymbolDraw(Graphics, GraphPane, LineItem, Single, Boolean)
Draw this CurveItem to the specified Graphics device as a symbol at each defined point. The routine only draws the symbols; the lines are draw by the DrawCurve(Graphics, GraphPane, CurveItem, Single) method. This method is normally only called by the Draw method of the CurveItem object
Declaration Syntax
C#Visual BasicVisual C++
public void Draw(
	Graphics g,
	GraphPane pane,
	LineItem curve,
	float scaleFactor,
	bool isSelected
)
Public Sub Draw ( _
	g As Graphics, _
	pane As GraphPane, _
	curve As LineItem, _
	scaleFactor As Single, _
	isSelected As Boolean _
)
public:
void Draw (
	Graphics^ g, 
	GraphPane^ pane, 
	LineItem^ curve, 
	float scaleFactor, 
	bool isSelected
)
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 (GraphPane)
A reference to the GraphPane object that is the parent or owner of this object.
curve (LineItem)
A LineItem representing this curve.
scaleFactor (Single)
The scaling factor to be used for rendering objects. This is calculated and passed down by the parent GraphPane object using the CalcScaleFactor()() method, and is used to proportionally adjust font sizes, etc. according to the actual size of the graph.
isSelected (Boolean)
Indicates that the Symbol should be drawn with attributes from the Selection class.

Assembly: ZedGraph (Module: ZedGraph) Version: 5.1.0.621