# C1.Win.TouchToolKit.ZoomBoundsInfo.Zoom

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_TouchToolKit_ZoomBoundsInfo_Zoom_" data-uid="C1.Win.TouchToolKit.ZoomBoundsInfo.Zoom*">Zoom Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_TouchToolKit_ZoomBoundsInfo_Zoom_" data-uid="C1.Win.TouchToolKit.ZoomBoundsInfo.Zoom*"></a>
<h4 id="C1_Win_TouchToolKit_ZoomBoundsInfo_Zoom_System_Int32_" data-uid="C1.Win.TouchToolKit.ZoomBoundsInfo.Zoom(System.Int32)">Zoom(int)</h4>
<div class="markdown level1 summary"><p>Zooms the specified current value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public int Zoom(int currentValue)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function Zoom(currentValue As Integer) As Integer</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.int32">int</a></td>
      <td><span class="parametername">currentValue</span></td>
      <td><p>The <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a> value need to zoom.</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.int32">int</a></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a> value that represents the zoomed value.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Win_TouchToolKit_ZoomBoundsInfo_Zoom_" data-uid="C1.Win.TouchToolKit.ZoomBoundsInfo.Zoom*"></a>
<h4 id="C1_Win_TouchToolKit_ZoomBoundsInfo_Zoom_System_Double_" data-uid="C1.Win.TouchToolKit.ZoomBoundsInfo.Zoom(System.Double)">Zoom(double)</h4>
<div class="markdown level1 summary"><p>Zooms the specified current value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public double Zoom(double currentValue)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function Zoom(currentValue 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">currentValue</span></td>
      <td><p>The double value need to zoom.</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><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a> value that represents the zoomed value.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Win_TouchToolKit_ZoomBoundsInfo_Zoom_" data-uid="C1.Win.TouchToolKit.ZoomBoundsInfo.Zoom*"></a>
<h4 id="C1_Win_TouchToolKit_ZoomBoundsInfo_Zoom_System_Single_" data-uid="C1.Win.TouchToolKit.ZoomBoundsInfo.Zoom(System.Single)">Zoom(float)</h4>
<div class="markdown level1 summary"><p>Zooms the specified current value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public float Zoom(float currentValue)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function Zoom(currentValue As Single) As Single</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.single">float</a></td>
      <td><span class="parametername">currentValue</span></td>
      <td><p>The current value.</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.single">float</a></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a> value that represents the zoomed value.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Win_TouchToolKit_ZoomBoundsInfo_Zoom_" data-uid="C1.Win.TouchToolKit.ZoomBoundsInfo.Zoom*"></a>
<h4 id="C1_Win_TouchToolKit_ZoomBoundsInfo_Zoom_System_Drawing_RectangleF_" data-uid="C1.Win.TouchToolKit.ZoomBoundsInfo.Zoom(System.Drawing.RectangleF)">Zoom(RectangleF)</h4>
<div class="markdown level1 summary"><p>Zooms the specified current rectangle.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RectangleF Zoom(RectangleF currentRectangle)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function Zoom(currentRectangle As RectangleF) As RectangleF</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.drawing.rectanglef">RectangleF</a></td>
      <td><span class="parametername">currentRectangle</span></td>
      <td><p>The current rectangle.</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.drawing.rectanglef">RectangleF</a></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectanglef">RectangleF</a> value that represents the zoomed result.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Win_TouchToolKit_ZoomBoundsInfo_Zoom_" data-uid="C1.Win.TouchToolKit.ZoomBoundsInfo.Zoom*"></a>
<h4 id="C1_Win_TouchToolKit_ZoomBoundsInfo_Zoom_System_Drawing_Rectangle_" data-uid="C1.Win.TouchToolKit.ZoomBoundsInfo.Zoom(System.Drawing.Rectangle)">Zoom(Rectangle)</h4>
<div class="markdown level1 summary"><p>Zooms the specified current rectangle.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Rectangle Zoom(Rectangle currentRectangle)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function Zoom(currentRectangle As Rectangle) As Rectangle</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.drawing.rectangle">Rectangle</a></td>
      <td><span class="parametername">currentRectangle</span></td>
      <td><p>The current rectangle.</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.drawing.rectangle">Rectangle</a></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectangle">Rectangle</a> value that represents the zoomed result.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Win_TouchToolKit_ZoomBoundsInfo_Zoom_" data-uid="C1.Win.TouchToolKit.ZoomBoundsInfo.Zoom*"></a>
<h4 id="C1_Win_TouchToolKit_ZoomBoundsInfo_Zoom_System_Drawing_Size_" data-uid="C1.Win.TouchToolKit.ZoomBoundsInfo.Zoom(System.Drawing.Size)">Zoom(Size)</h4>
<div class="markdown level1 summary"><p>Zooms the specified current size.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Size Zoom(Size currentSize)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function Zoom(currentSize 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.drawing.size">Size</a></td>
      <td><span class="parametername">currentSize</span></td>
      <td><p>The current size.</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.drawing.size">Size</a></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.size">Size</a> value that represents the zoomed result.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Win_TouchToolKit_ZoomBoundsInfo_Zoom_" data-uid="C1.Win.TouchToolKit.ZoomBoundsInfo.Zoom*"></a>
<h4 id="C1_Win_TouchToolKit_ZoomBoundsInfo_Zoom_System_Drawing_SizeF_" data-uid="C1.Win.TouchToolKit.ZoomBoundsInfo.Zoom(System.Drawing.SizeF)">Zoom(SizeF)</h4>
<div class="markdown level1 summary"><p>Zooms the specified current size.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public SizeF Zoom(SizeF currentSize)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function Zoom(currentSize As SizeF) As SizeF</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.drawing.sizef">SizeF</a></td>
      <td><span class="parametername">currentSize</span></td>
      <td><p>The current size.</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.drawing.sizef">SizeF</a></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.sizef">SizeF</a> value that represents the zoomed result.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Win_TouchToolKit_ZoomBoundsInfo_Zoom_" data-uid="C1.Win.TouchToolKit.ZoomBoundsInfo.Zoom*"></a>
<h4 id="C1_Win_TouchToolKit_ZoomBoundsInfo_Zoom_System_Drawing_Point_" data-uid="C1.Win.TouchToolKit.ZoomBoundsInfo.Zoom(System.Drawing.Point)">Zoom(Point)</h4>
<div class="markdown level1 summary"><p>Zooms the specified current point.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Point Zoom(Point currentPoint)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function Zoom(currentPoint 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.drawing.point">Point</a></td>
      <td><span class="parametername">currentPoint</span></td>
      <td><p>The current point.</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.drawing.point">Point</a></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.point">Point</a> value that represents the zoomed result.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Win_TouchToolKit_ZoomBoundsInfo_Zoom_" data-uid="C1.Win.TouchToolKit.ZoomBoundsInfo.Zoom*"></a>
<h4 id="C1_Win_TouchToolKit_ZoomBoundsInfo_Zoom_System_Drawing_PointF_" data-uid="C1.Win.TouchToolKit.ZoomBoundsInfo.Zoom(System.Drawing.PointF)">Zoom(PointF)</h4>
<div class="markdown level1 summary"><p>Zooms the specified current point.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public PointF Zoom(PointF currentPoint)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function Zoom(currentPoint As PointF) As PointF</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.drawing.pointf">PointF</a></td>
      <td><span class="parametername">currentPoint</span></td>
      <td><p>The current point.</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.drawing.pointf">PointF</a></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.pointf">PointF</a> value that represents the zoomed result.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
