# C1.Win.Map.C1Map.SetZoomCenter

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Map_C1Map_SetZoomCenter_" data-uid="C1.Win.Map.C1Map.SetZoomCenter*">SetZoomCenter Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Map_C1Map_SetZoomCenter_" data-uid="C1.Win.Map.C1Map.SetZoomCenter*"></a>
<h4 id="C1_Win_Map_C1Map_SetZoomCenter_System_Double_C1_Win_Interop_Point_" data-uid="C1.Win.Map.C1Map.SetZoomCenter(System.Double,C1.Win.Interop.Point)">SetZoomCenter(double, Point)</h4>
<div class="markdown level1 summary"><p>Sets the zoom and center of the map.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SetZoomCenter(double zoom, Point center)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub SetZoomCenter(zoom As Double, center 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.double">double</a></td>
      <td><span class="parametername">zoom</span></td>
      <td><p>The new zoom of the map.</p>
</td>
    </tr>
    <tr>
      <td><span class="xref">Point</span></td>
      <td><span class="parametername">center</span></td>
      <td><p>The new center of the map, in geography unit.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Win_Map_C1Map_SetZoomCenter_System_Double_C1_Win_Interop_Point__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Valid only after the map is rendered.</p>
</div>
</div>
