ActiveReports.Document Assembly > DataDynamics.ActiveReports.Document Namespace > Document Class > Save Method : Save(String,RdfFormat,SaveOptions) Method |
Uses the SaveOptions enumeration to specify the compression to use on the document.
Uses the SaveOptions enumeration to specify the compression to use on the document.
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); }
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
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