ActiveReports.Viewer3 Request technical support
Save(String) Method
See Also  Example


fileName
File path where the document will be saved.
Saves the report document to the specified file.

Syntax

Visual Basic (Declaration) 
Overloads Public Sub Save( _
   ByVal fileName As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As Document
Dim fileName As String
 
instance.Save(fileName)
C# 
public void Save( 
   string fileName
)

Parameters

fileName
File path where the document will be saved.

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

Remarks

Default file format is ARNet RDF file.

See Also