# C1.WPF.C1ListViewerPanel.ConvertToRenderCoordinates

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_C1ListViewerPanel_ConvertToRenderCoordinates_" data-uid="C1.WPF.C1ListViewerPanel.ConvertToRenderCoordinates*">ConvertToRenderCoordinates Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_C1ListViewerPanel_ConvertToRenderCoordinates_" data-uid="C1.WPF.C1ListViewerPanel.ConvertToRenderCoordinates*"></a>
<h4 id="C1_WPF_C1ListViewerPanel_ConvertToRenderCoordinates_System_Windows_Size_" data-uid="C1.WPF.C1ListViewerPanel.ConvertToRenderCoordinates(System.Windows.Size)">ConvertToRenderCoordinates(Size)</h4>
<div class="markdown level1 summary"><p>Converts a size from absolute coordinates to render coordinates.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected Size ConvertToRenderCoordinates(Size size)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Function ConvertToRenderCoordinates(size As Size) As Size</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.size">Size</a></td>
      <td><span class="parametername">size</span></td>
      <td><p>The size to be converted.</p>
</td>
    </tr>
  </tbody>
</table>
<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="https://learn.microsoft.com/dotnet/api/system.windows.size">Size</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_WPF_C1ListViewerPanel_ConvertToRenderCoordinates_" data-uid="C1.WPF.C1ListViewerPanel.ConvertToRenderCoordinates*"></a>
<h4 id="C1_WPF_C1ListViewerPanel_ConvertToRenderCoordinates_System_Windows_Point_" data-uid="C1.WPF.C1ListViewerPanel.ConvertToRenderCoordinates(System.Windows.Point)">ConvertToRenderCoordinates(Point)</h4>
<div class="markdown level1 summary"><p>Converts a point from absolute coordinates to render coordinates.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected Point ConvertToRenderCoordinates(Point size)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Function ConvertToRenderCoordinates(size As Point) As Point</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.point">Point</a></td>
      <td><span class="parametername">size</span></td>
      <td><p>The point to be converted.</p>
</td>
    </tr>
  </tbody>
</table>
<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="https://learn.microsoft.com/dotnet/api/system.windows.point">Point</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_WPF_C1ListViewerPanel_ConvertToRenderCoordinates_" data-uid="C1.WPF.C1ListViewerPanel.ConvertToRenderCoordinates*"></a>
<h4 id="C1_WPF_C1ListViewerPanel_ConvertToRenderCoordinates_System_Windows_Rect_" data-uid="C1.WPF.C1ListViewerPanel.ConvertToRenderCoordinates(System.Windows.Rect)">ConvertToRenderCoordinates(Rect)</h4>
<div class="markdown level1 summary"><p>Converts a rectangle from absolute coordinates to render coordinates.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected Rect ConvertToRenderCoordinates(Rect rect)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Function ConvertToRenderCoordinates(rect As Rect) As Rect</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.rect">Rect</a></td>
      <td><span class="parametername">rect</span></td>
      <td><p>The rectangle to be converted.</p>
</td>
    </tr>
  </tbody>
</table>
<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="https://learn.microsoft.com/dotnet/api/system.windows.rect">Rect</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_WPF_C1ListViewerPanel_ConvertToRenderCoordinates_" data-uid="C1.WPF.C1ListViewerPanel.ConvertToRenderCoordinates*"></a>
<h4 id="C1_WPF_C1ListViewerPanel_ConvertToRenderCoordinates_System_Double_" data-uid="C1.WPF.C1ListViewerPanel.ConvertToRenderCoordinates(System.Double)">ConvertToRenderCoordinates(double)</h4>
<div class="markdown level1 summary"><p>Converts a length from absolute coordinates to render coordinates in order to implement zoom panel easily.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected virtual double ConvertToRenderCoordinates(double length)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overridable Function ConvertToRenderCoordinates(length As Double) As Double</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">length</span></td>
      <td><p>The length to be converted.</p>
</td>
    </tr>
  </tbody>
</table>
<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="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
