Saves the report document to the specified file using the specified file format with the specified compression.
Syntax
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# | Copy Code |
---|
private void btnSave_Click(object sender, System.EventArgs e)
{
arv.Document.Save(Application.StartupPath + "\\Document.rdf", GrapeCity.ActiveReports.Document.Section.RdfFormat.AR20, GrapeCity.ActiveReports.Document.Section.SaveOptions.Compressed);
} |
Visual Basic | Copy 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", GrapeCity.ActiveReports.Document.Secction.RdfFormat.AR20, GrapeCity.ActiveReports.Document.Section.SaveOptions.Compressed)
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