See Also

Document Class  | Document Members  | Overload List  | SaveOptions

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.
options

Uses the SaveOptions enumeration to specify the compression to use on the document.

See Also Languages ActiveReports.Viewer Send feedback to Data Dynamics

Save(String,RdfFormat,SaveOptions) Method

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

[Visual Basic]
Overloads Public Sub Save( _    ByVal fileName As String, _    ByVal fmt As RdfFormat, _    ByVal options As SaveOptions _ )
[C#]
public void Save(    string fileName,    RdfFormat fmt,    SaveOptions options );

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.
options

Uses the SaveOptions enumeration to specify the compression to use on the document.

Example

[C#] 

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

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

[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, DataDynamics.ActiveReports.Document.SaveOptions.Compressed)
End Sub

See Also

Document Class  | Document Members  | Overload List  | SaveOptions

 

 


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