Table of Contents

Class ReportViewerOptions

Namespace
GroupeIsa.Neos.Designer.UIAbstractions.Reporting
Assembly
GroupeIsa.Neos.Designer.UIAbstractions.dll

Represents the ReportViewer options.

[ExcludeFromCodeCoverage]
[SuppressMessage("Minor Code Smell", "S2325:Methods and properties that don't access instance data should be static", Justification = "Abstraction for transpilation")]
public class ReportViewerOptions : BaseReportOptions<ReportViewerOptions>
Inheritance
ReportViewerOptions
Inherited Members

Constructors

ReportViewerOptions(ReportId)

Initializes a new instance of the ReportViewerOptions class.

public ReportViewerOptions(ReportId reportId)

Parameters

reportId ReportId

Report id.

ReportViewerOptions(string)

Initializes a new instance of the ReportViewerOptions class.

[Obsolete("Using string literals for report name is error-prone. Use new ReportViewerOptions(Reports.MyReport) to benefit from compile-time safety.", false)]
public ReportViewerOptions(string reportName)

Parameters

reportName string

Report name.

Methods

WithInitialViewerMode(ReportViewerMode)

Sets the initial report viewer mode (SinglePage, Continuous or MultiplePages).

public ReportViewerOptions WithInitialViewerMode(ReportViewerMode mode)

Parameters

mode ReportViewerMode

Initial view mode.

Returns

ReportViewerOptions

The options.