Class PdfWriter
Exports the Report in Pdf mode .
Implements
System.IDisposable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.EJ.ReportWriter
Assembly: Syncfusion.EJ.ReportViewer.dll
Syntax
public class PdfWriter : WriterBase, IDisposable
Constructors
PdfWriter()
Initializes a new instance of the PdfWriter class.
Declaration
public PdfWriter()
PdfWriter(Stream)
Initializes a new instance of the PdfWriter class.
Declaration
public PdfWriter(Stream rdlStream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | rdlStream |
PdfWriter(Stream, ReportDataSourceCollection)
Initializes a new instance of the PdfWriter class.
Declaration
public PdfWriter(Stream rdlStream, ReportDataSourceCollection reportDataSources)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | rdlStream | |
ReportDataSourceCollection | reportDataSources |
PdfWriter(String)
Initializes a new instance of the PdfWriter class.
Declaration
public PdfWriter(string rdlFilename)
Parameters
Type | Name | Description |
---|---|---|
System.String | rdlFilename | The filename of the report with its full path |
PdfWriter(String, ReportDataSourceCollection)
Initializes a new instance of the PdfWriter class.
Declaration
public PdfWriter(string rdlFilename, ReportDataSourceCollection reportDataSources)
Parameters
Type | Name | Description |
---|---|---|
System.String | rdlFilename | The filename of the report with its full path |
ReportDataSourceCollection | reportDataSources | DataSource of the Report |
Methods
Dispose()
Disposes all the unmanaged objects, releases common resources.
Declaration
public void Dispose()
Save(Stream)
Exports the report as a PDF document
Declaration
public void Save(Stream PdfStream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | PdfStream | The stream where the Pdf document to be saved |
Save(String)
Exports the report as a PDF document
Declaration
public void Save(string PdfFilename)
Parameters
Type | Name | Description |
---|---|---|
System.String | PdfFilename | The name of the Pdf file to be saved |
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 |
Implements
System.IDisposable