ActiveReports 14 .NET Edition
GrapeCity.ActiveReports.Document Assembly / GrapeCity.ActiveReports.Document Namespace / SectionDocument Class / Save Method / Save(String,RdfFormat) Method
File path where the document will be saved.
Uses the RdfFormat enumeration to specify the file format in which to save the report.
Example

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

    Parameters

    fileName
    File path where the document will be saved.
    fmt
    Uses the RdfFormat enumeration to specify the file format in which to save the report.
    Example
    private void btnSave_Click(object sender, System.EventArgs e)
    {
        arv.Document.Save(Application.StartupPath + "\\Document.rdf", GrapeCity.ActiveReports..Document.Section.RdfFormat.AR20);
    }
    Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click
        arv.Document.Save(Application.StartupPath & "\Document.rdf", GrapeCity.ActiveReports.Document.Section.RdfFormat.AR20)
    End Sub
    See Also