Class WordWriter
Exports the report in Word mode.
Implements
Inherited Members
Namespace: Syncfusion.EJ.ReportWriter
Assembly: Syncfusion.EJ.ReportViewer.dll
Syntax
public class WordWriter : WriterBase, IDisposable
Constructors
WordWriter()
Initializes a new instance of the Syncfusion.ReportWriter.WordWriter class.
Declaration
public WordWriter()
WordWriter(Stream)
Initializes a new instance of the Syncfusion.ReportWriter.WordWriter class.
Declaration
public WordWriter(Stream rdlStream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | rdlStream | Stream of the file |
WordWriter(Stream, ReportDataSourceCollection)
Initializes a new instance of the Syncfusion.ReportWriter.WordWriter class.
Declaration
public WordWriter(Stream rdlStream, ReportDataSourceCollection reportDataSources)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | rdlStream | stream of the RDL file |
ReportDataSourceCollection | reportDataSources | Report Datasources |
WordWriter(String)
Initializes a new instance of the Syncfusion.ReportWriter.WordWriter class.
Declaration
public WordWriter(string rdlFilename)
Parameters
Type | Name | Description |
---|---|---|
System.String | rdlFilename | The full path of the file |
WordWriter(String, ReportDataSourceCollection)
Initializes a new instance of the Syncfusion.ReportWriter.WordWriter class.
Declaration
public WordWriter(string rdlFilename, ReportDataSourceCollection reportDataSources)
Parameters
Type | Name | Description |
---|---|---|
System.String | rdlFilename | The full path of the file |
ReportDataSourceCollection | reportDataSources | ReportDatasource |
Methods
Dispose()
Disposes all the unmanaged objects, releases common resources.
Declaration
public void Dispose()
Save(Stream)
Exports the Report as Word file
Declaration
public void Save(Stream docStream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | docStream | Stream to save the Report |
Save(String)
Exports the Report as word file
Declaration
public void Save(string docFilename)
Parameters
Type | Name | Description |
---|---|---|
System.String | docFilename | File name to save the Report |
Save(String, HttpResponse)
Exports the Report
Declaration
public void Save(string fileName, HttpResponse response)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName | File name to save the Report |
System.Web.HttpResponse | response | Http Response |