'Declaration Public Event TextExported As EventHandler(Of TextExportedEventArgs)
public event EventHandler<TextExportedEventArgs> TextExported
The event handler receives an argument of type TextExportedEventArgs containing data related to this event. The following TextExportedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Text | Gets the text exported to Word |
The TextExportedEventArgs.Text is a copy of the text which is exported to word.
This event is fired before all other events when the Export(String,WordDocumentWriter) method is called. You can use it to do any preprocessing before exporting process starts.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, 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