Skip to main content

DataGridLinkBase.AutoHeight Property

Gets or sets a value indicating whether the height of the DataGrid to be printed should be calculated automatically.

Namespace: DevExpress.XtraPrintingLinks

Assembly: DevExpress.XtraPrinting.v24.1.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.Printing

Declaration

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

Property Value

Type Default Description
Boolean true

true to automatically calculate a data grid’s height; otherwise, false.

Remarks

When the AutoHeight is true, the height of the row containing the images (byte arrays) is calculated and set automatically, taking the image size into account.

See Also