# GrapeCity.ActiveReports.Drawing.GraphicsRenderContext

## Content

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



  <h1 id="GrapeCity_ActiveReports_Drawing_GraphicsRenderContext" data-uid="GrapeCity.ActiveReports.Drawing.GraphicsRenderContext" class="text-break">GraphicsRenderContext Class
</h1>
  <div class="markdown level0 summary"><p>Represents the context for rendering graphics.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">GraphicsRenderContext</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Drawing.html">GrapeCity.ActiveReports.Drawing</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Core.Rendering.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Drawing_GraphicsRenderContext_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class GraphicsRenderContext</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_GraphicsRenderContext__ctor_GrapeCity_ActiveReports_Extensibility_Layout_ITargetDevice_GrapeCity_ActiveReports_Drawing_IDrawingCanvas_GrapeCity_ActiveReports_Drawing_ITextMetricsProvider_GrapeCity_ActiveReports_Extensibility_Rendering_IRenderersFactory_GrapeCity_ActiveReports_Extensibility_Rendering_Components_ToC_IBookmarkService_GrapeCity_ActiveReports_Drawing_EvalMessageInfo_System_Boolean_System_Boolean_System_Boolean_" data-uid="GrapeCity.ActiveReports.Drawing.GraphicsRenderContext.#ctor(GrapeCity.ActiveReports.Extensibility.Layout.ITargetDevice,GrapeCity.ActiveReports.Drawing.IDrawingCanvas,GrapeCity.ActiveReports.Drawing.ITextMetricsProvider,GrapeCity.ActiveReports.Extensibility.Rendering.IRenderersFactory,GrapeCity.ActiveReports.Extensibility.Rendering.Components.ToC.IBookmarkService,GrapeCity.ActiveReports.Drawing.EvalMessageInfo,System.Boolean,System.Boolean,System.Boolean)">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.GraphicsRenderContext.-ctor.html#GrapeCity_ActiveReports_Drawing_GraphicsRenderContext__ctor_GrapeCity_ActiveReports_Extensibility_Layout_ITargetDevice_GrapeCity_ActiveReports_Drawing_IDrawingCanvas_GrapeCity_ActiveReports_Drawing_ITextMetricsProvider_GrapeCity_ActiveReports_Extensibility_Rendering_IRenderersFactory_GrapeCity_ActiveReports_Extensibility_Rendering_Components_ToC_IBookmarkService_GrapeCity_ActiveReports_Drawing_EvalMessageInfo_System_Boolean_System_Boolean_System_Boolean_">GraphicsRenderContext(ITargetDevice, IDrawingCanvas, ITextMetricsProvider, IRenderersFactory, IBookmarkService, EvalMessageInfo, bool, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_GraphicsRenderContext_RenderDynamicallyHidden" data-uid="GrapeCity.ActiveReports.Drawing.GraphicsRenderContext.RenderDynamicallyHidden">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.GraphicsRenderContext.RenderDynamicallyHidden.html">RenderDynamicallyHidden</a>
        </td>
        <td class="markdown level1 summary"><p>If <code>True</code> the dynamically hidden content will be rendered at first.
It is necessary when there are one more layer which is responsible for dynamic visibility
(for example ReportMetaCanvas)</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_GraphicsRenderContext_BookmarkService" data-uid="GrapeCity.ActiveReports.Drawing.GraphicsRenderContext.BookmarkService">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.GraphicsRenderContext.BookmarkService.html#GrapeCity_ActiveReports_Drawing_GraphicsRenderContext_BookmarkService">BookmarkService</a>
        </td>
        <td class="markdown level1 summary"><p>Gets factory.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_GraphicsRenderContext_Canvas" data-uid="GrapeCity.ActiveReports.Drawing.GraphicsRenderContext.Canvas">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.GraphicsRenderContext.Canvas.html#GrapeCity_ActiveReports_Drawing_GraphicsRenderContext_Canvas">Canvas</a>
        </td>
        <td class="markdown level1 summary"><p>The canvas to draw on.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_GraphicsRenderContext_DoBackground" data-uid="GrapeCity.ActiveReports.Drawing.GraphicsRenderContext.DoBackground">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.GraphicsRenderContext.DoBackground.html#GrapeCity_ActiveReports_Drawing_GraphicsRenderContext_DoBackground">DoBackground</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_GraphicsRenderContext_DoBorders" data-uid="GrapeCity.ActiveReports.Drawing.GraphicsRenderContext.DoBorders">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.GraphicsRenderContext.DoBorders.html#GrapeCity_ActiveReports_Drawing_GraphicsRenderContext_DoBorders">DoBorders</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_GraphicsRenderContext_DoContent" data-uid="GrapeCity.ActiveReports.Drawing.GraphicsRenderContext.DoContent">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.GraphicsRenderContext.DoContent.html#GrapeCity_ActiveReports_Drawing_GraphicsRenderContext_DoContent">DoContent</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_GraphicsRenderContext_EvalMessage" data-uid="GrapeCity.ActiveReports.Drawing.GraphicsRenderContext.EvalMessage">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.GraphicsRenderContext.EvalMessage.html#GrapeCity_ActiveReports_Drawing_GraphicsRenderContext_EvalMessage">EvalMessage</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_GraphicsRenderContext_MetricsProvider" data-uid="GrapeCity.ActiveReports.Drawing.GraphicsRenderContext.MetricsProvider">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.GraphicsRenderContext.MetricsProvider.html#GrapeCity_ActiveReports_Drawing_GraphicsRenderContext_MetricsProvider">MetricsProvider</a>
        </td>
        <td class="markdown level1 summary"><p>Gets metrics provider.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_GraphicsRenderContext_RenderersFactory" data-uid="GrapeCity.ActiveReports.Drawing.GraphicsRenderContext.RenderersFactory">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.GraphicsRenderContext.RenderersFactory.html#GrapeCity_ActiveReports_Drawing_GraphicsRenderContext_RenderersFactory">RenderersFactory</a>
        </td>
        <td class="markdown level1 summary"><p>Gets factory.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_GraphicsRenderContext_TargetDevice" data-uid="GrapeCity.ActiveReports.Drawing.GraphicsRenderContext.TargetDevice">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.GraphicsRenderContext.TargetDevice.html#GrapeCity_ActiveReports_Drawing_GraphicsRenderContext_TargetDevice">TargetDevice</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies <a class="xref" href="GrapeCity.ActiveReports.Extensibility.Layout.ITargetDevice.html">ITargetDevice</a> associated with this context</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_GraphicsRenderContext_CreateInstance_GrapeCity_ActiveReports_Extensibility_Layout_ITargetDevice_GrapeCity_ActiveReports_Drawing_IDrawingCanvas_GrapeCity_ActiveReports_Drawing_ITextMetricsProvider_GrapeCity_ActiveReports_Extensibility_Rendering_IRenderersFactory_GrapeCity_ActiveReports_Extensibility_Rendering_Components_ToC_IBookmarkService_GrapeCity_ActiveReports_Drawing_EvalMessageInfo_System_Boolean_System_Boolean_System_Boolean_GrapeCity_ActiveReports_Rendering_GraphicalRenderers_IPatchCollector_" data-uid="GrapeCity.ActiveReports.Drawing.GraphicsRenderContext.CreateInstance(GrapeCity.ActiveReports.Extensibility.Layout.ITargetDevice,GrapeCity.ActiveReports.Drawing.IDrawingCanvas,GrapeCity.ActiveReports.Drawing.ITextMetricsProvider,GrapeCity.ActiveReports.Extensibility.Rendering.IRenderersFactory,GrapeCity.ActiveReports.Extensibility.Rendering.Components.ToC.IBookmarkService,GrapeCity.ActiveReports.Drawing.EvalMessageInfo,System.Boolean,System.Boolean,System.Boolean,GrapeCity.ActiveReports.Rendering.GraphicalRenderers.IPatchCollector)">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.GraphicsRenderContext.CreateInstance.html#GrapeCity_ActiveReports_Drawing_GraphicsRenderContext_CreateInstance_GrapeCity_ActiveReports_Extensibility_Layout_ITargetDevice_GrapeCity_ActiveReports_Drawing_IDrawingCanvas_GrapeCity_ActiveReports_Drawing_ITextMetricsProvider_GrapeCity_ActiveReports_Extensibility_Rendering_IRenderersFactory_GrapeCity_ActiveReports_Extensibility_Rendering_Components_ToC_IBookmarkService_GrapeCity_ActiveReports_Drawing_EvalMessageInfo_System_Boolean_System_Boolean_System_Boolean_GrapeCity_ActiveReports_Rendering_GraphicalRenderers_IPatchCollector_">CreateInstance(ITargetDevice, IDrawingCanvas, ITextMetricsProvider, IRenderersFactory, IBookmarkService, EvalMessageInfo, bool, bool, bool, IPatchCollector)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.Tools.ObjectExtensions.IsNumber.html#GrapeCity_ActiveReports_Core_Rendering_Tools_ObjectExtensions_IsNumber_System_Object_">ObjectExtensions.IsNumber(object)</a>
  </div>

</div>
