[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Core.Rendering.Data.ReportSnapshot.Save

Save Method

Save(Stream, bool)

Saves the report snapshot to the specified output stream.

Declaration
public void Save(Stream output, bool isInteractive = false)
Parameters
Type Name Description
Stream output

A Stream object to which the report snapshot will be written.

bool isInteractive

A bool value indicating report has interactive items like slicers, user sorts and etc. If true, the data aggregate tree is preserved for interactive items and written to the stream; if false, the data aggregate tree is reset and excluded from the output. The default value is false.

Save(Stream, bool, bool)

Saves the report snapshot to the specified output stream.

Declaration
public void Save(Stream output, bool isInteractive, bool formatted)
Parameters
Type Name Description
Stream output

A Stream object to which the report snapshot will be written.

bool isInteractive

A bool value indicating report has interactive items like slicers, user sorts and etc. If true, the data aggregate tree is preserved for interactive items and written to the stream; if false, the data aggregate tree is reset and excluded from the output.

bool formatted

A bool value indicating whether the JSON should be formatted for readability.