Skip to main content
A newer version of this page is available. .

ASPxDocumentViewer.AutoHeight Property

Specifies whether the Document Viewer’s height is adjusted automatically to fit its panels.

Namespace: DevExpress.XtraReports.Web

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

Declaration

[DefaultValue(true)]
public bool AutoHeight { get; set; }

Property Value

Type Default Description
Boolean **true**

true, to automatically adjust the Document Viewer’s height; otherwise, false.

Remarks

Sizing of the DocumentViewer control’s panels is managed by an internal ASPxSplitter control. By default, the Parameters splitter pane has its SplitterPane.AutoHeight property set to true, which may force the Document Viewer to change it’s height when the Parameters pane is automatically resized to fit its content. To prevent this behavior, set the AutoHeight property to false.

See Also