.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

RichEditControlCompatibility.CompatibleRtfImportForRotatedImages Property

Fixes incorrectly displayed rotated images in loaded RTF files.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v20.1.Core.dll


public static bool CompatibleRtfImportForRotatedImages { get; set; }
Public Shared Property CompatibleRtfImportForRotatedImages As Boolean

Property Value

Type Description

True, to turn the compatibility option on; otherwise, false.


If the rotation angle is in the degree range from 45 to 135 or from 225 to 315, images saved in RTF files using earlier versions of Rich Text Editor and loaded into the current version are displayed incorrectly. To fix the problem, set the CompatibleRtfImportForRotatedImages option to true, load a problematic file and save it. After resaving, you may set this option to false, because the saved file has been corrected.

See Also