ChartDirector 5.1 (.NET Edition)

WinChartViewer.ViewPortChanged


Declaration

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

Description

This event occurs when the view port 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 view port 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.