ASP.NET MVC

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PdfWriter - ASP.NETMVC API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PdfWriter

    Exports the Report in Pdf mode .

    Inheritance
    System.Object
    WriterBase
    PdfWriter
    Implements
    System.IDisposable
    Inherited Members
    WriterBase.LoadReport(Stream)
    WriterBase.LoadSubreport(String, Stream)
    WriterBase.LoadSubreport(String, String)
    WriterBase.LoadSubreport(String, TextReader)
    WriterBase.GetDataSetNames()
    WriterBase.GetDataSources()
    WriterBase.SetDataSourceCredentials(DataSourceCredentials[])
    WriterBase.SetDataSourceCredentials(IEnumerable<DataSourceCredentials>)
    WriterBase.GetParameters()
    WriterBase.GetParametersWithValues()
    WriterBase.SetParameters(IEnumerable<ReportParameter>)
    WriterBase.ReportPath
    WriterBase.ReportProcessingMode
    WriterBase.ExportLayout
    WriterBase.DataSources
    WriterBase.Assemblies
    WriterBase.UserProfile
    WriterBase.ReportServerUrl
    WriterBase.ReportServerCredential
    WriterBase.ReportServerFormsCredential
    WriterBase.Culture
    WriterBase.ReportLanguage
    WriterBase.EnableVirtualEvaluation
    WriterBase.DisablePageSplitting
    WriterBase.PageSettings
    WriterBase.ReportingServer
    WriterBase.WordOptions
    WriterBase.ExcelOptions
    WriterBase.CsvOptions
    WriterBase.PDFOptions
    WriterBase.HTMLOptions
    WriterBase.PPTOptions
    WriterBase.ReportErrorOccurred
    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
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved