'Declaration Public Event ExportEnded As EventHandler(Of ExportEndedEventArgs)
public event EventHandler<ExportEndedEventArgs> ExportEnded
The event handler receives an argument of type ExportEndedEventArgs containing data related to this event. The following ExportEndedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Canceled | Returns a boolean indicating if the export operation was canceled. |
CancelInfo | Returns an object that provides information about action that canceled the export. |
Source | Returns the Infragistics.Windows.DataPresenter.DataPresenterBase passed into the DataPresenterWordWriter.Export method. |
The ExportEnded event is raised after the export process has been completed. If an overload of the Export method that accepts a filename was used, then the file would be available at this point since the file is saved after the ExportEnding event has been completed but before the ExportEnded. Therefore any manipulations of the Writer should be done in the ExportEnding event.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2