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.v20.1.dll

Declaration

[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool AutoHorzWidth { get; set; }
<DefaultValue(False)>
<XtraSerializableProperty>
Public Overridable Property AutoHorzWidth As Boolean

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
.OptionsPrint.AutoHorzWidth

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.

CardOptionsPrint_AutoHorzWidth

See Also