Back to Devexpress

RichEditControlCompatibility.CompatibleRtfImportForRotatedImages Property

officefileapi-devexpress-dot-xtrarichedit-dot-richeditcontrolcompatibility-adaa8c69.md

latest1.9 KB
Original Source

RichEditControlCompatibility.CompatibleRtfImportForRotatedImages Property

Fixes incorrectly displayed rotated images in loaded RTF files.

Namespace : DevExpress.XtraRichEdit

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

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

Property Value

TypeDefaultDescription
Booleanfalse

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

RichEditControlCompatibility Class

RichEditControlCompatibility Members

DevExpress.XtraRichEdit Namespace