ActiveReports 14 .NET Edition
GrapeCity.ActiveReports.Document Assembly / GrapeCity.ActiveReports.Document Namespace / SectionDocument Class / Save Method / Save(String) Method
File path where the document will be saved.
Example

In This Topic
    Save(String) Method
    In This Topic
    Saves the report document to the specified file.
    Syntax
    'Declaration
     
    Public Overloads Sub Save( _
       ByVal fileName As String _
    ) 
    public void Save( 
       string fileName
    )

    Parameters

    fileName
    File path where the document will be saved.
    Remarks
    Default file format is ARNet RDF file.
    Example
    private void btnSave_Click(object sender, System.EventArgs e)
    {
        arv.Document.Save(Application.StartupPath + "\\Document.rdf");
    }
    Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click
        arv.Document.Save(Application.StartupPath & "\Document.rdf")
    End Sub
    See Also