# GrapeCity.ActiveReports.Document.SectionDocument.CompatibilityMode

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_ActiveReports_Document_SectionDocument_CompatibilityMode_" data-uid="GrapeCity.ActiveReports.Document.SectionDocument.CompatibilityMode*">CompatibilityMode Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Document_SectionDocument_CompatibilityMode_" data-uid="GrapeCity.ActiveReports.Document.SectionDocument.CompatibilityMode*"></a>
<h4 id="GrapeCity_ActiveReports_Document_SectionDocument_CompatibilityMode" data-uid="GrapeCity.ActiveReports.Document.SectionDocument.CompatibilityMode">CompatibilityMode</h4>
<div class="markdown level1 summary"><p>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.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[Browsable(false)]
public CompatibilityModes CompatibilityMode { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Document.CompatibilityModes.html">CompatibilityModes</a></td>
      <td><p>A <a class="xref" href="GrapeCity.ActiveReports.Document.CompatibilityModes.html">CompatibilityModes</a> value. Set the <code>CompatibilityModes.CrossPlatform</code> value for cross-platform text/image rendering. Set the <code>CompatibilityModes.GDI</code> for GDI/GDI+ text/image rendering.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_Document_SectionDocument_CompatibilityMode_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The default value for the NET Framework is <code>CompatibilityModes.GDI</code>, while for other frameworks it is <code>CompatibilityModes.CrossPlatform</code>.
The <code>CompatibilityModes.GDI</code> setting is only compatible with the Windows operating system and is not suitable for use with ASP.NET Core.
The <code>CompatibilityModes.CrossPlatform</code> setting is designed for cross-platform rendering.</p>
</div>
<h5 id="GrapeCity_ActiveReports_Document_SectionDocument_CompatibilityMode_examples">Examples</h5>
<pre><code class="lang-csharp">var sectionDocument = new GrapeCity.ActiveReports.Document.SectionDocument();
sectionDocument.CompatibilityMode = GrapeCity.ActiveReports.Document.CompatibilityModes.CrossPlatform;</code></pre>

</div>
