# C1.WPF.Maps.C1MultiScaleImage.ViewportWidth

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_Maps_C1MultiScaleImage_ViewportWidth_" data-uid="C1.WPF.Maps.C1MultiScaleImage.ViewportWidth*">ViewportWidth Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_Maps_C1MultiScaleImage_ViewportWidth_" data-uid="C1.WPF.Maps.C1MultiScaleImage.ViewportWidth*"></a>
<h4 id="C1_WPF_Maps_C1MultiScaleImage_ViewportWidth" data-uid="C1.WPF.Maps.C1MultiScaleImage.ViewportWidth">ViewportWidth</h4>
<div class="markdown level1 summary"><p>Gets or sets the width of the area of the image displayed.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public double ViewportWidth { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property ViewportWidth As Double</code></pre>
</div>
<h5 id="C1_WPF_Maps_C1MultiScaleImage_ViewportWidth_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The width of the area of the image displayed. This value is in logical coordinates.
For example a value of 1 displays the entire image (no zoom), a value of
0.5 is 200% zoomed in and a value of 0 is completely zoomed (user cannot
see the image at all). A value above 1 is zooming out from the image. For
example, a value of 2 means that the image will take up half the size of
the System.Windows.Controls.MultiScaleImage control area (50% zoom).</p>
</div>
</div>
