Skip to main content

ReportViewerSettings.AutoSize Property

Specifies whether a report’s size is defined by the bounds of a report viewer, or of a report page.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v23.2.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public bool AutoSize { get; set; }

Property Value

Type Description
Boolean

true to use the report page’s size; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to AutoSize
ReportViewerExtension
.Settings .AutoSize

Remarks

Use the AutoSize property to restrict the size of a report when it is displayed on a Web page to the ReportViewer’s Height and Width.

When the AutoSize property is enabled, and the report’s size is greater than the remaining space on the Web page, the page will be expanded to fit the report.

See Also