OptionsPrintControl.OldPrinting Property
Gets or sets whether a LayoutControl utilizes the old print/export mode.
Namespace: DevExpress.XtraLayout
Assembly: DevExpress.XtraLayout.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | false | true, if the LayoutControl uses the old print/export mode; false, if it uses the default mode. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to OldPrinting |
---|---|
LayoutControl |
|
Remarks
If the old printing mode is enabled, the LayoutControl follows the “WYSIWYG” approach. It is printed/exported as is, keeping the item arrangement. The LayoutControl’s nested compound controls which support the IPrintable interface (GridControl, ChartControl, etc.) are printed as images (only a control’s visible part is printed).
In the default printing mode, the LayoutControl follows the “Flow layout” approach. According to the “Flow layout” principle, layout items are automatically arranged in rows within the printing/export page, filling the page area in the best way. The LayoutControl supports high-quality printing for nested controls that implement the IPrintable interface. It invokes the print methods of these controls, considering their print options and appearance.
See the Printing and Export document for more information.