Back to Devexpress

OptionsPrintControl.OldPrinting Property

windowsforms-devexpress-dot-xtralayout-dot-optionsprintcontrol.md

latest2.9 KB
Original Source

OptionsPrintControl.OldPrinting Property

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

Namespace : DevExpress.XtraLayout

Assembly : DevExpress.XtraLayout.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(false)]
[XtraSerializableProperty]
public bool OldPrinting { get; set; }
vb
<DefaultValue(False)>
<XtraSerializableProperty>
Public Property OldPrinting As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

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 TypePath 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

AllowFitToPage

Printing and Export

Flow Layout

OptionsPrintControl Class

OptionsPrintControl Members

DevExpress.XtraLayout Namespace