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





In This Topic
    PreviewPageDisplayed Event
    In This Topic
    This event is raised after the current page of the document loaded in the GdViewer controlhas been successfully displayed.

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

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

    The event handler receives an argument of type GdViewer.PageDisplayedEventArgs containing data related to this event. The following GdViewer.PageDisplayedEventArgs 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 PageDisplayed event to motivate yourself on how to utilize this event in your GdViewer control.
    See Also