The requested page is not available for the requested platform. You are viewing the content for Default platform.

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.v19.1.Web.WebForms.dll

Declaration

[SRCategory(ReportStringId.CatBehavior)]
[DefaultValue(true)]
public bool AutoSize { get; set; }
<SRCategory(ReportStringId.CatBehavior)>
<DefaultValue(True)>
Public Property AutoSize As Boolean

Property Value

Type Default Description
Boolean

true

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

Remarks

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