# C1.Win.Document.GraphicsHolder.FromScreen

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Document_GraphicsHolder_FromScreen_" data-uid="C1.Win.Document.GraphicsHolder.FromScreen*">FromScreen Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Document_GraphicsHolder_FromScreen_" data-uid="C1.Win.Document.GraphicsHolder.FromScreen*"></a>
<h4 id="C1_Win_Document_GraphicsHolder_FromScreen" data-uid="C1.Win.Document.GraphicsHolder.FromScreen">FromScreen()</h4>
<div class="markdown level1 summary"><p>Creates a graphics holder from screen. If that fails (e.g. on Azure), the graphics is created from a bitmap.
When the holder is disposed, both graphics and the bitmap are released.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static GraphicsHolder FromScreen()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function FromScreen() As GraphicsHolder</code></pre>
</div>
<h5 class="returns">Returns</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="C1.Win.Document.GraphicsHolder.html">GraphicsHolder</a></td>
      <td><p>The new instance of the graphics holder.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
