LEADTOOLS Windows Forms (Leadtools.WinForms assembly)
LEAD Technologies, Inc

Pan Event






Occurs when the user performs a panning process for the RasterImagePanViewer displayed image.
Syntax
'Declaration
 
Public Event Pan As EventHandler(Of RasterImagePanViewerEventArgs)
'Usage
 
Dim instance As RasterImagePanViewer
Dim handler As EventHandler(Of RasterImagePanViewerEventArgs)
 
AddHandler instance.Pan, handler
add_Pan(function(sender, e))
remove_Pan(function(sender, e))

Event Data

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.

PropertyDescription
Cancel Specifies whether or not to cancel the current panning process.
Rectangle The Pan Rectangle.
Status The Pan process current status.
Remarks
This event provides the current status of the pan operation: Begin, Panning, or End, as well the current panning rectangle.
Example
Refer to Viewer example.
Requirements

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

See Also

Reference

RasterImagePanViewer Class
RasterImagePanViewer Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.