# C1.C1Preview.RenderGraphics.ReferenceGraphics

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_RenderGraphics_ReferenceGraphics_" data-uid="C1.C1Preview.RenderGraphics.ReferenceGraphics*">ReferenceGraphics Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_RenderGraphics_ReferenceGraphics_" data-uid="C1.C1Preview.RenderGraphics.ReferenceGraphics*"></a>
<h4 id="C1_C1Preview_RenderGraphics_ReferenceGraphics" data-uid="C1.C1Preview.RenderGraphics.ReferenceGraphics">ReferenceGraphics</h4>
<div class="markdown level1 summary"><p>Gets the reference <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.graphics">Graphics</a> used to create the underlying metafile.
This property is simply a shortcut to the <a class="xref" href="C1.C1Preview.C1PrintDocument.CreationGraphics.html#C1_C1Preview_C1PrintDocument_CreationGraphics">CreationGraphics</a> property,
and returns <b>null</b> if the current <a class="xref" href="C1.C1Preview.RenderGraphics.html">RenderGraphics</a> object has not been added
to a <a class="xref" href="C1.C1Preview.C1PrintDocument.html">C1PrintDocument</a> yet.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Graphics ReferenceGraphics { get; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public ReadOnly Property ReferenceGraphics As Graphics</code></pre>
</div>
</div>
