A newer version of this page is available. Switch to the current version.

ReportViewer.AutoSize Property

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

Namespace: DevExpress.XtraReports.Web

Assembly: DevExpress.XtraReports.v18.2.Web.WebForms.dll


public bool AutoSize { get; set; }
Public Property AutoSize As Boolean

Property Value

Type Default Description


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


Use the AutoSize property to restrict the size of a report when it is displayed on a Web page to the ReportViewer.Height and ReportViewer.Width of the ReportViewer control in which it is contained.

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