CardView.PrintMaximumCardColumns Property
Gets or sets a value defining the maximum number of card columns for printing/exporting.
Namespace: DevExpress.XtraGrid.Views.Card
Assembly: DevExpress.XtraGrid.v24.2.dll
Declaration
[DefaultValue(-1)]
[DXCategory("Printing")]
[XtraSerializableProperty]
public int PrintMaximumCardColumns { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Int32 | -1 | The maximum number of printed/exported card columns. |
Remarks
The default value for the PrintMaximumCardColumns property means that the number of card columns in the print/export output is determined only by page margins and the CardView.CardWidth property value. At the same time, if the CardOptionsPrint.AutoHorzWidth option is active, the output document will contain only one column of cards, but the cards in that column are resized to match page width. The following image demonstrates a report page with one column of cards (the CardOptionsPrint.AutoHorzWidth option is active and the PrintMaximumCardColumns property value is -1):
The following images demonstrate the difference between report pages for different values of the CardOptionsPrint.AutoHorzWidth and the PrintMaximumCardColumns properties:
The PrintMaximumCardColumns value is 3 and the AutoHorzWidth property value is true. |
---|
The PrintMaximumCardColumns value is 3 but the AutoHorzWidth property value is false. |
---|