.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

Declaration

[DefaultValue(false)]
[Browsable(false)]
public static bool CompatibleRtfImportForRotatedImages { get; set; }
<DefaultValue(False)>
<Browsable(False)>
Public Shared Property CompatibleRtfImportForRotatedImages As Boolean

Property Value

Type Description
Boolean

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

Remarks

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