ComponentOne ReportViewer for ASP.NET Web Forms
C1.Web.Wijmo.Controls.45 Assembly / C1.Web.Wijmo.Controls.C1ReportViewer.ReportService Namespace / IC1WebReportService Interface / ExportToFile Method / ExportToFile(String,String) Method
The document key.
The format.

In This Topic
    ExportToFile(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
     
    Overloads Function ExportToFile( _
       ByVal documentKey As System.String, _
       ByVal format As System.String _
    ) As System.String
    System.string ExportToFile( 
       System.string documentKey,
       System.string format
    )

    Parameters

    documentKey
    The document key.
    format
    The format.

    Return Value

    Url to exported file.
    See Also