ChartDirector 7.1 (.NET Edition)

WinChartViewer.ViewPortChanged


Declaration

[C#]public event WinViewPortEventHandler ViewPortChanged;
[VB]Public Event ViewPortChanged As WinViewPortEventHandler

Description

This event occurs when the viewport is changed through mouse actions, or when WinChartViewer.updateViewPort is called.

WinViewPortEventHandler is a delegate representing the signature of the method that can be used to handle viewport changed events. It is declared as follows.

[VB] Public Delegate Sub WinViewPortEventHandler(sender As Object, e As WinViewPortEventArgs)
[C#] public delegate void WinViewPortEventHandler(object sender, WinViewPortEventArgs e);

In the above, "sender" is the object that raises the event, and "e" is a WinViewPortEventArgs object that contains the event data.