method Graph.Refresh ()
Refreshes the control's content.

TypeDescription

Use the Refresh method whenever you need to refresh the control. Use the BeginUpdate and EndUpdate method ay time when the control requires more changes at one time. Use the hWnd property to get the handle of the control's window.

The following VB sample calls the Refresh method:

Graph1.Refresh

The following C++ sample calls the Refresh method:

m_graph.Refresh();

The following VB.NET sample calls the Refresh method:

AxGraph1.CtlRefresh()

In VB.NET the System.Windows.Forms.Control class has already a Refresh method, so the CtlRefresh method should be called.

The following C# sample calls the Refresh method:

axGraph1.CtlRefresh();

In C# the System.Windows.Forms.Control class has already a Refresh method, so the CtlRefresh method should be called.

The following VFP sample calls the Refresh method:

thisform.Graph1.Object.Refresh()