[]
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.
[Browsable(false)]
public CompatibilityModes CompatibilityMode { get; set; }
Type | Description |
---|---|
CompatibilityModes | A CompatibilityModes value. Set the |
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.
var sectionDocument = new GrapeCity.ActiveReports.Document.SectionDocument();
sectionDocument.CompatibilityMode = GrapeCity.ActiveReports.Document.CompatibilityModes.CrossPlatform;