Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

OptionsPrintControl.OldPrinting Property

Gets or sets whether a LayoutControl utilizes the old print/export mode.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(false)]
[XtraSerializableProperty]
public bool OldPrinting { get; set; }

#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
.OptionsPrint .OldPrinting

#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.

See Also