ActiveReports Developer 7
Save(String) Method
See Also  Example
GrapeCity.ActiveReports.Document.v7 Assembly > GrapeCity.ActiveReports.Document Namespace > SectionDocument Class > Save Method : Save(String) Method

fileName
File path where the document will be saved.

Glossary Item Box

Saves the report document to the specified file.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub Save( _
   ByVal fileName As System.String _
) 
C# 
public void Save( 
   System.string fileName
)

Parameters

fileName
File path where the document will be saved.

Remarks

Default file format is ARNet RDF file.

Example

C#Copy Code
private void btnSave_Click(object sender, System.EventArgs e)
{
    arv.Document.Save(Application.StartupPath + "\\Document.rdf");
}
Visual BasicCopy Code
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