ComponentOne Sparkline for ASP.NET WebForms
C1.Web.Wijmo.Controls.45 Assembly / C1.Web.Wijmo.Controls.C1ReportViewer.ReportService Namespace / C1WebReportServiceHelper Class / ExportToFile Method / ExportToFile(String,String,String) Method
The document key.
The format.
Optional. Exported file name.

In This Topic
    ExportToFile(String,String,String) Method
    In This Topic
    Export the document specified by documentKey to the specified format and returns url that can be used to download file.
    Syntax
    'Declaration
     
    Public Overloads Function ExportToFile( _
       ByVal documentKey As System.String, _
       ByVal format As System.String, _
       ByVal exportedFileName As System.String _
    ) As System.String
    public System.string ExportToFile( 
       System.string documentKey,
       System.string format,
       System.string exportedFileName
    )

    Parameters

    documentKey
    The document key.
    format
    The format.
    exportedFileName
    Optional. Exported file name.

    Return Value

    Url to exported file.
    See Also