Constructor ReportViewerSession
ReportViewerSession(ReportInstance, FontEngine)
Opens a session over a processed report.
public ReportViewerSession(ReportInstance instance, FontEngine fonts)
Parameters
instanceReportInstanceThe processed report.
fontsFontEngineThe fonts to measure with.
Exceptions
- ArgumentNullException
instanceorfontsis null.
ReportViewerSession(ReportInstance, FontEngine, ReportPaginationOptions?)
Opens a session over a processed report.
public ReportViewerSession(ReportInstance instance, FontEngine fonts, ReportPaginationOptions? options)
Parameters
instanceReportInstanceThe processed report.
fontsFontEngineThe fonts to measure with.
optionsReportPaginationOptionsHow to paginate. The session keeps this object and changes its ToggledItems as toggles are applied, so a caller that shares it with something else will see those changes.
Exceptions
- ArgumentNullException
instanceorfontsis null.