Reference Guide
GdPicture14.WPF Namespace / GdViewer Class / PreviewZoomChanged Event





In This Topic
    PreviewZoomChanged Event
    In This Topic
    This event is raised after the zoom level has been successfully changed.

    The event makes use of tunel routing strategy. Please check the corresponded GdViewer.ZoomChangedEventArgs for more details.

    Syntax
    '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.

    PropertyDescription
    (Inherited from System.Windows.RoutedEventArgs)
    (Inherited from System.Windows.RoutedEventArgs)
    (Inherited from System.Windows.RoutedEventArgs)
    (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