'Declaration
Public Event SavingProgress As GdViewer.SavingProgressHandler
public event GdViewer.SavingProgressHandler SavingProgress
public event SavingProgress: GdViewer.SavingProgressHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event GdViewer.SavingProgressHandler* SavingProgress
public: event GdViewer.SavingProgressHandler^ SavingProgress
The event handler receives an argument of type GdViewer.SavingProgressEventArgs containing data related to this event. The following GdViewer.SavingProgressEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Handled | (Inherited from System.Windows.RoutedEventArgs) |
OriginalSource | (Inherited from System.Windows.RoutedEventArgs) |
PageCount | The total number of pages to be saved. |
PageNo | The page number of the currently processed page. It is a value from 1 to PageCount. |
RoutedEvent | (Inherited from System.Windows.RoutedEventArgs) |
Source | (Inherited from System.Windows.RoutedEventArgs) |
'We assume that the GdViewer1 control has been properly integrated 'and the SavingProgress event has been properly added. 'Define the event. Sub GdViewer1_SavingProgress(ByVal sender As Object, ByVal e As GdPicture14.WPF.GdViewer.SavingProgressEventArgs) 'Do your stuff here. End Sub
//We assume that the GdViewer1 control has been properly integrated //and the SavingProgress event has been properly added. //Define the event. void GdViewer1_SavingProgress(object sender, GdPicture14.WPF.GdViewer.SavingProgressEventArgs e) { //Do your stuff here. }