[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Core.Rendering.Data.ReportSnapshot.-ctor

ReportSnapshot Constructor

ReportSnapshot(ReportDataSnapshot, string, SubreportsInfo, string, string, Dictionary<string, List<ReportParameterInfo<object>>>, ReportSlicerState[])

Initializes a new instance of the ReportSnapshot class.

Declaration
public ReportSnapshot(ReportDataSnapshot data, string template = null, SubreportsInfo subreports = null, string evaluationMessage = null, string signature = null, Dictionary<string, List<ReportParameterInfo<object>>> parameters = null, ReportSlicerState[] slicers = null)
Parameters
Type Name Description
ReportDataSnapshot data

The data required to render the report.

string template

The main report RDL (Report Definition Language) template.

SubreportsInfo subreports

A collection of RDL templates for subreports, if any.

string evaluationMessage

An optional message providing context or status from report evaluation.

string signature

The digital signature used to verify the snapshot’s integrity and authenticity.

Dictionary<string, List<ReportParameterInfo<object>>> parameters

The values of the parameters used to generate the report.

ReportSlicerState[] slicers

The initial states of any slicers (filters) applied to the report.

Exceptions
Type Condition
ArgumentNullException

Thrown if the data parameter is null.