# C1.WPF.Maps.C1MultiScaleImage.ViewportOrigin

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_Maps_C1MultiScaleImage_ViewportOrigin_" data-uid="C1.WPF.Maps.C1MultiScaleImage.ViewportOrigin*">ViewportOrigin Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_Maps_C1MultiScaleImage_ViewportOrigin_" data-uid="C1.WPF.Maps.C1MultiScaleImage.ViewportOrigin*"></a>
<h4 id="C1_WPF_Maps_C1MultiScaleImage_ViewportOrigin" data-uid="C1.WPF.Maps.C1MultiScaleImage.ViewportOrigin">ViewportOrigin</h4>
<div class="markdown level1 summary"><p>Gets or sets the top-left corner of the area of the image to be displayed.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Point ViewportOrigin { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property ViewportOrigin As Point</code></pre>
</div>
<h5 id="C1_WPF_Maps_C1MultiScaleImage_ViewportOrigin_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The point of the top-left corner of the rectangular area of the image to
be displayed. The coordinates of the point are in local coordinates (0-1)
relative to the displayed image. For example, a ViewportOrigin point value
of 1,1 would specify an origin on the lower right-hand corner of the image.
Because this origin is for the top-left corner of the rectangular area of
the image displayed, a value of 1, 1 would actually show nothing of the image
(area would be lower and to the right of the image). As another example,
a point at 0.5, 0.5 would be directly in the center of the image and therefore
the area shown would be to the lower-right of the image center.</p>
</div>
</div>
