See Also

Document Class  | Document Members  | Overload List  | Load method  | LoadUrl property

Language

Visual Basic

C#

Show All

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.
See Also Languages ActiveReports.Viewer Send feedback to Data Dynamics

Save(String,RdfFormat) Method

Saves the report document to the specified file using the specified file format.

[Visual Basic]
Overloads Public Sub Save( _    ByVal fileName As String, _    ByVal fmt As RdfFormat _ )
[C#]
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

[C#] 

private void btnSave_Click(object sender, System.EventArgs e) 

    arv.Document.Save(Application.StartupPath + "\\Document.rdf", DataDynamics.ActiveReports.Document.RdfFormat.AR20); 
}

[Visual Basic] 

Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click
    arv.Document.Save(Application.StartupPath & "\Document.rdf", DataDynamics.ActiveReports.Document.RdfFormat.AR20)
End Sub

See Also

Document Class  | Document Members  | Overload List  | Load method  | LoadUrl property

 

 


Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.