Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RichEditControlCompatibility.CompatibleRtfImportForRotatedImages Property

Fixes incorrectly displayed rotated images in loaded RTF files.

Namespace: DevExpress.XtraRichEdit

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

NuGet Package: DevExpress.RichEdit.Core

#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