Skip to main content

RichEditControlCompatibility.CompatibleRtfImportForRotatedImages Property

Fixes incorrectly displayed rotated images in loaded RTF files.

Namespace: DevExpress.XtraRichEdit

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

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

[Browsable(false)]
[DefaultValue(false)]
public static bool CompatibleRtfImportForRotatedImages { get; set; }

Property Value

Type Default Description
Boolean false

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