CVB.Net 14.0
DisplayZoomEventArgs Class Reference

Event arguments for all display zoom related events. More...

Inherits RoutedEventArgs.

Public Member Functions

 DisplayZoomEventArgs (RoutedEvent routedEvent, object source, double zoomFactor, Point zoomCenter)
 Creates a new instance of the DisplayZoomEventArgs class using the given routedEvent identifier and event source . I also takes the zoomFactor at the point in time the arguments are created. More...
 

Properties

Point ZoomCenter [get]
 Gets the zoom center in bitmap source pixel coordinates associated with the event.
 
double ZoomFactor [get]
 Gets the zoom factor associated with the event.
 

Detailed Description

Event arguments for all display zoom related events.

Constructor & Destructor Documentation

◆ DisplayZoomEventArgs()

DisplayZoomEventArgs ( RoutedEvent  routedEvent,
object  source,
double  zoomFactor,
Point  zoomCenter 
)

Creates a new instance of the DisplayZoomEventArgs class using the given routedEvent identifier and event source . I also takes the zoomFactor at the point in time the arguments are created.

Parameters
routedEventThe routed ecvent identifier for this instance of the DisplayZoomEventArgs class.
sourceThe alternate source that will be reported when the event is handled. This pre-populates the RoutedEventArgs.Source property.
zoomFactorThe zoom factor associated with the event.
zoomCenterThe zoom center associated with the event.