Gets or sets whether to restore the previous document layout calculation.
NuGet Package: DevExpress.RichEdit.Core
true to enable the legacy layout engine; otherwise, false.
The default value is false.
In versions earlier v.18.1, the document layout was changed when printing or exporting to PDF. The issue is caused by different measure units used to calculate the display and printout layouts. Depending on the expected result, you could overcome the difference by setting the LayoutUnit property to DocumentLayoutUnit.Twip or DocumentLayoutUnit.Document.
With the 18.1. release, the RichEditControl converts to WISYWIG. The documents now look the same when displaying, printing or exporting to PDF. The RichEditControl.LayoutUnit property has no effect.
After the upgrade, your documents may look different than in previous releases. Use the
RichEditControlCompatibility.EnableLegacyLayoutEngine property to restore the previous behavior and manage the document layout manually. The property should be set on application startup. Refer to the How to: Perform Actions On Application Startup topic for details.
The EnableLegacyLayoutEngine value is always false on Linux operation system.