Draws the graph.
[Visual Basic]
Overloads Public Sub PrintGraph( _
ByVal g As Graphics, _
ByVal pageIndex As Integer, _
ByVal location As PointF, _
ByVal size As SizeF _
)
[C#]
public void PrintGraph(
Graphics g,
int pageIndex,
PointF location,
SizeF size
);
Parameters
-
g
- Drawing surface.
-
pageIndex
- Page index.
-
location
- Drawing position.
-
size
- Drawing size.
Example
How to draw the graph to the drawing surface of AwPrintPreview control. ( How to use CurrentPageChanged event )
graphBuild.PrintGraph(e.Graphics, e.PageNumber - 1, New PointF(10F, 10F), New SizeF(150F, 100F))
graphBuild.PrintGraph(e.Graphics, e.PageNumber - 1, new PointF(10F, 10F), new SizeF(150F, 100F));
See Also
AwGraphBuild Class | Asterworld.Graph Namespace | AwGraphBuild.PrintGraph Overload List