Leadtools.WinForms Namespace > RasterImagePanViewer Class : Pan Event |
public event EventHandler<RasterImagePanViewerEventArgs> Pan
'Declaration Public Event Pan As EventHandler(Of RasterImagePanViewerEventArgs)
'Usage Dim instance As RasterImagePanViewer Dim handler As EventHandler(Of RasterImagePanViewerEventArgs) AddHandler instance.Pan, handler
public event EventHandler<RasterImagePanViewerEventArgs> Pan
add_Pan(function(sender, e)) remove_Pan(function(sender, e))
public: event EventHandler<RasterImagePanViewerEventArgs^>^ Pan
The event handler receives an argument of type RasterImagePanViewerEventArgs containing data related to this event. The following RasterImagePanViewerEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | Specifies whether or not to cancel the current panning process. |
Rectangle | The Pan Rectangle. |
Status | The Pan process current status. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2