GdPicture.NET Reference Guide
PreviewPageChanged Event





GdPicture14.WPF Namespace > GdViewer Class : PreviewPageChanged Event
This event is raised after the currently displayed page of the document loaded in the GdViewer control has been successfully changed.

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

Syntax
'Declaration
 
Public Event PreviewPageChanged As GdViewer.PreviewPageChangedHandler
public event GdViewer.PreviewPageChangedHandler PreviewPageChanged
public event PreviewPageChanged: GdViewer.PreviewPageChangedHandler; 
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event GdViewer.PreviewPageChangedHandler* PreviewPageChanged
public:
event GdViewer.PreviewPageChangedHandler^ PreviewPageChanged
Event Data

The event handler receives an argument of type GdViewer.PageChangedEventArgs containing data related to this event. The following GdViewer.PageChangedEventArgs 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)
Example
Please follow the example for the PageChanged event to motivate yourself on how to utilize this event in your GdViewer control.
See Also