[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Rendering.ReportExtensions.BuildReport

BuildReport Method

BuildReport(ReportStore, ReportDataSnapshot, DataParameter[], RenderingTreeBuilderConfig, SubreportsInfo, ActionKey[], IReadOnlyDictionary<string, Func<CustomContextArgs, object>>)

Creates IReport object.

Declaration
public static IReport BuildReport(this ReportStore reportStore, ReportDataSnapshot data = null, DataParameter[] parameters = null, RenderingTreeBuilderConfig config = null, SubreportsInfo subreports = null, ActionKey[] actions = null, IReadOnlyDictionary<string, Func<CustomContextArgs, object>> customContext = null)
Parameters
Type Name Description
ReportStore reportStore

Report bundle with root report definition, subreports and other resources.

ReportDataSnapshot data

Report data.

DataParameter[] parameters

Report parameters values.

RenderingTreeBuilderConfig config

Builder configuration.

SubreportsInfo subreports

Subreports information.

ActionKey[] actions

Action keys.

IReadOnlyDictionary<string, Func<CustomContextArgs, object>> customContext

Custom context.

Returns
Type Description
IReport

IReport object that is root of rendering tree.

BuildReport(ReportStore, ReportDataSnapshot, bool, DataParameter[], RenderingTreeBuilderConfig, SubreportsInfo, ActionKey[], IReadOnlyDictionary<string, Func<CustomContextArgs, object>>)

Creates IReport object.

Declaration
public static IReport BuildReport(this ReportStore reportStore, ReportDataSnapshot data, bool isSnapshotLimitedInteractivity, DataParameter[] parameters, RenderingTreeBuilderConfig config, SubreportsInfo subreports, ActionKey[] actions, IReadOnlyDictionary<string, Func<CustomContextArgs, object>> customContext)
Parameters
Type Name Description
ReportStore reportStore

Report bundle with root report definition, subreports and other resources.

ReportDataSnapshot data

Report data.

bool isSnapshotLimitedInteractivity

Whether the document support all interactivity or limited to snapshot.

DataParameter[] parameters

Report parameters values.

RenderingTreeBuilderConfig config

Builder configuration.

SubreportsInfo subreports

Subreports information.

ActionKey[] actions

Action keys.

IReadOnlyDictionary<string, Func<CustomContextArgs, object>> customContext

Custom context.

Returns
Type Description
IReport

IReport object that is root of rendering tree.