CardOptionsPrint.AutoHorzWidth Property
Gets or sets whether cards in the print/export output are automatically resized horizontally to fit the report page’s width.
Namespace: DevExpress.XtraGrid.Views.Card
Assembly: DevExpress.XtraGrid.v24.1.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
Declaration
[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool AutoHorzWidth { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Boolean | false | true if cards are automatically resized horizontally to fit the report page’s width; otherwise, false. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to AutoHorzWidth |
---|---|
CardView |
|
Remarks
The number of card columns printed/exported is specified by the CardView.PrintMaximumCardColumns property.
The following image shows the View’s print preview before and after the AutoHorzWidth option has been activated. The CardView.PrintMaximumCardColumns property value is -1.