'Declaration
Public Event PreviewZoomChanged As GdViewer.PreviewZoomChangedHandler
public event GdViewer.PreviewZoomChangedHandler PreviewZoomChanged
public event PreviewZoomChanged: GdViewer.PreviewZoomChangedHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event GdViewer.PreviewZoomChangedHandler* PreviewZoomChanged
public: event GdViewer.PreviewZoomChangedHandler^ PreviewZoomChanged
Event Data
The event handler receives an argument of type GdViewer.ZoomChangedEventArgs containing data related to this event. The following GdViewer.ZoomChangedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Handled | (Inherited from System.Windows.RoutedEventArgs) |
OriginalSource | (Inherited from System.Windows.RoutedEventArgs) |
RoutedEvent | (Inherited from System.Windows.RoutedEventArgs) |
Source | (Inherited from System.Windows.RoutedEventArgs) |
Remarks
Just to inform you that this event always occurs when the viewer control has been refreshed due to any changing of the zoom level or the zoom mode.
Example
Please follow the example for the ZoomChanged event to motivate yourself on how to utilize this event in your GdViewer control.
See Also