←Select platform

Pan Event

Summary

Occurs when the user performs a panning process for the RasterImagePanViewer displayed image.

Syntax

C#
VB
C++
public event EventHandler<RasterImagePanViewerEventArgs> Pan
Public Event Pan As EventHandler(Of RasterImagePanViewerEventArgs)
public: 
event EventHandler<RasterImagePanViewerEventArgs^>^ Pan 

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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.WinForms Assembly
Click or drag to resize