# GrapeCity.Drawing.Rectangle.ToRect

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Drawing_Rectangle_ToRect_" data-uid="GrapeCity.Drawing.Rectangle.ToRect*">ToRect Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Drawing_Rectangle_ToRect_" data-uid="GrapeCity.Drawing.Rectangle.ToRect*"></a>
<h4 id="GrapeCity_Drawing_Rectangle_ToRect" data-uid="GrapeCity.Drawing.Rectangle.ToRect">ToRect()</h4>
<div class="markdown level1 summary"><p>Converts to <a class="xref" href="GrapeCity.Drawing.Rect.html">Rect</a> value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Rect ToRect()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function ToRect() As Rect</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="GrapeCity.Drawing.Rect.html">Rect</a></td>
      <td><p>The corresponding <a class="xref" href="GrapeCity.Drawing.Rect.html">Rect</a> value.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
