[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Rdl.Json.ReportJsonSerializer.Save

Save Method

Save(Report, FileInfo)

Serializes a Report to JSON and writes it to a specified file.

Declaration
public static void Save(Report report, FileInfo file)
Parameters
Type Name Description
Report report

A Report instance to be serialized.

FileInfo file

A file where the serialized JSON will be written.

Save(Report, Stream)

Serializes a Report to JSON and writes it to a specified stream.

Declaration
public static void Save(Report report, Stream output)
Parameters
Type Name Description
Report report

A Report instance to be serialized.

Stream output

A Stream where the serialized JSON will be written.