[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Document.SectionDocument.CompatibilityMode

CompatibilityMode Property

CompatibilityMode

Gets or sets a value indicating whether the new cross-platform based rendering implementation or the legacy GDI/GDI+ rendering should be used by the document.

Declaration
[Browsable(false)]
public CompatibilityModes CompatibilityMode { get; set; }
Property Value
Type Description
CompatibilityModes

A CompatibilityModes value. Set the CompatibilityModes.CrossPlatform value for cross-platform text/image rendering. Set the CompatibilityModes.GDI for GDI/GDI+ text/image rendering.

Remarks

The default value for the NET Framework is CompatibilityModes.GDI, while for other frameworks it is CompatibilityModes.CrossPlatform. The CompatibilityModes.GDI setting is only compatible with the Windows operating system and is not suitable for use with ASP.NET Core. The CompatibilityModes.CrossPlatform setting is designed for cross-platform rendering.

Examples
var sectionDocument = new GrapeCity.ActiveReports.Document.SectionDocument();
sectionDocument.CompatibilityMode = GrapeCity.ActiveReports.Document.CompatibilityModes.CrossPlatform;