# C1.Win.TouchToolKit.ImageItem.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_TouchToolKit_ImageItem__ctor_" data-uid="C1.Win.TouchToolKit.ImageItem.#ctor*">ImageItem Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_TouchToolKit_ImageItem__ctor_" data-uid="C1.Win.TouchToolKit.ImageItem.#ctor*"></a>
<h4 id="C1_Win_TouchToolKit_ImageItem__ctor" data-uid="C1.Win.TouchToolKit.ImageItem.#ctor">ImageItem()</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.TouchToolKit.ImageItem.html">ImageItem</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ImageItem()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>


<a id="C1_Win_TouchToolKit_ImageItem__ctor_" data-uid="C1.Win.TouchToolKit.ImageItem.#ctor*"></a>
<h4 id="C1_Win_TouchToolKit_ImageItem__ctor_System_Drawing_Image_System_Single_" data-uid="C1.Win.TouchToolKit.ImageItem.#ctor(System.Drawing.Image,System.Single)">ImageItem(Image, float)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.TouchToolKit.ImageItem.html">ImageItem</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ImageItem(Image image, float zoomFactor)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(image As Image, zoomFactor 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.drawing.image">Image</a></td>
      <td><span class="parametername">image</span></td>
      <td><p>An <a class="xref" href="C1.Win.TouchToolKit.ImageItem.Image.html#C1_Win_TouchToolKit_ImageItem_Image">Image</a> value that represents the image to display in a <a class="xref" href="C1.Win.TouchToolKit.C1MultiScaleImage.html">C1MultiScaleImage</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">zoomFactor</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a> value that indicate how much the <a class="xref" href="C1.Win.TouchToolKit.C1MultiScaleImage.ZoomFactor.html#C1_Win_TouchToolKit_C1MultiScaleImage_ZoomFactor">ZoomFactor</a> is to display <a class="xref" href="C1.Win.TouchToolKit.ImageItem.Image.html#C1_Win_TouchToolKit_ImageItem_Image">Image</a>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentoutofrangeexception">ArgumentOutOfRangeException</a></td>
      <td><p>The assigned value of zoomFactor is less than or equal to 1.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
