ActiveReports 9
Save(String) Method
Example 

File path where the document will be saved.
Saves the report document to the specified file.
Syntax
'Declaration
 
Public Overloads Sub Save( _
   ByVal fileName As System.String _
) 
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
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
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SectionDocument Class
SectionDocument Members
Overload List
Load method
LoadUrl property

 

 


Copyright © 2014 GrapeCity, inc. All rights reserved

Support Forum