ComponentOne Reports for WPF
C1.C1Report Namespace / C1Report Class / RenderToFile Method
Name of the file that will contain the report.
Type of file to create.

In This Topic
    RenderToFile Method (C1Report)
    In This Topic
    Renders the report into a file.
    Syntax
    'Declaration
     
    Public Sub RenderToFile( _
       ByVal fileName As String, _
       ByVal fmt As FileFormatEnum _
    ) 
    public void RenderToFile( 
       string fileName,
       FileFormatEnum fmt
    )

    Parameters

    fileName
    Name of the file that will contain the report.
    fmt
    Type of file to create.
    Remarks
    This method causes the control to render the current report into a file. It is especially useful in server applications that create several reports in batch mode, and don't have a user interface.
    See Also