# C1.WPF.Word.Canvas.PictureShape.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_Word_Canvas_PictureShape__ctor_" data-uid="C1.WPF.Word.Canvas.PictureShape.#ctor*">PictureShape Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_Word_Canvas_PictureShape__ctor_" data-uid="C1.WPF.Word.Canvas.PictureShape.#ctor*"></a>
<h4 id="C1_WPF_Word_Canvas_PictureShape__ctor" data-uid="C1.WPF.Word.Canvas.PictureShape.#ctor">PictureShape()</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of an <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public PictureShape()</code></pre>
</div>


<a id="C1_WPF_Word_Canvas_PictureShape__ctor_" data-uid="C1.WPF.Word.Canvas.PictureShape.#ctor*"></a>
<h4 id="C1_WPF_Word_Canvas_PictureShape__ctor_System_Windows_Media_Imaging_WriteableBitmap_" data-uid="C1.WPF.Word.Canvas.PictureShape.#ctor(System.Windows.Media.Imaging.WriteableBitmap)">PictureShape(WriteableBitmap)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of an <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public PictureShape(WriteableBitmap img)</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.windows.media.imaging.writeablebitmap">WriteableBitmap</a></td>
      <td><span class="parametername">img</span></td>
      <td><p>The image contained in the new <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_WPF_Word_Canvas_PictureShape__ctor_" data-uid="C1.WPF.Word.Canvas.PictureShape.#ctor*"></a>
<h4 id="C1_WPF_Word_Canvas_PictureShape__ctor_System_Windows_Media_Imaging_WriteableBitmap_System_Int32_System_Int32_" data-uid="C1.WPF.Word.Canvas.PictureShape.#ctor(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32)">PictureShape(WriteableBitmap, int, int)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of an <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public PictureShape(WriteableBitmap img, int x, int y)</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.windows.media.imaging.writeablebitmap">WriteableBitmap</a></td>
      <td><span class="parametername">img</span></td>
      <td><p>The image contained in the new <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">x</span></td>
      <td><p>The horizontal position of the new shape with respect to the cell, in twips.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">y</span></td>
      <td><p>The vertical position of the new shape with respect to the cell, in twips.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_WPF_Word_Canvas_PictureShape__ctor_" data-uid="C1.WPF.Word.Canvas.PictureShape.#ctor*"></a>
<h4 id="C1_WPF_Word_Canvas_PictureShape__ctor_System_Windows_Media_Imaging_WriteableBitmap_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="C1.WPF.Word.Canvas.PictureShape.#ctor(System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32,System.Int32,System.Int32)">PictureShape(WriteableBitmap, int, int, int, int)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of an <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public PictureShape(WriteableBitmap img, int x, int y, int width, int height)</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.windows.media.imaging.writeablebitmap">WriteableBitmap</a></td>
      <td><span class="parametername">img</span></td>
      <td><p>The image contained in the new <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">x</span></td>
      <td><p>The horizontal position of the image with respect to the cell, in twips.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">y</span></td>
      <td><p>The vertical position of the image with respect to the cell, in twips.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">width</span></td>
      <td><p>The width of the image, in twips.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">height</span></td>
      <td><p>The height of the image, in twips.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_WPF_Word_Canvas_PictureShape__ctor_" data-uid="C1.WPF.Word.Canvas.PictureShape.#ctor*"></a>
<h4 id="C1_WPF_Word_Canvas_PictureShape__ctor_System_Windows_Media_Imaging_WriteableBitmap_System_Windows_Rect_" data-uid="C1.WPF.Word.Canvas.PictureShape.#ctor(System.Windows.Media.Imaging.WriteableBitmap,System.Windows.Rect)">PictureShape(WriteableBitmap, Rect)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of an <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public PictureShape(WriteableBitmap img, Rect rc)</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.windows.media.imaging.writeablebitmap">WriteableBitmap</a></td>
      <td><span class="parametername">img</span></td>
      <td><p>The image contained in the new <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.rect">Rect</a></td>
      <td><span class="parametername">rc</span></td>
      <td><p>A rectangle that specifies the image size and position
with respect to the cell, in twips.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_WPF_Word_Canvas_PictureShape__ctor_" data-uid="C1.WPF.Word.Canvas.PictureShape.#ctor*"></a>
<h4 id="C1_WPF_Word_Canvas_PictureShape__ctor_System_Windows_Media_Imaging_WriteableBitmap_System_Windows_Size_C1_WPF_Word_ContentAlignment_C1_WPF_Word_Canvas_ImageScaling_" data-uid="C1.WPF.Word.Canvas.PictureShape.#ctor(System.Windows.Media.Imaging.WriteableBitmap,System.Windows.Size,C1.WPF.Word.ContentAlignment,C1.WPF.Word.Canvas.ImageScaling)">PictureShape(WriteableBitmap, Size, ContentAlignment, ImageScaling)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of an <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public PictureShape(WriteableBitmap img, Size cellSize, ContentAlignment align, ImageScaling scale)</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.windows.media.imaging.writeablebitmap">WriteableBitmap</a></td>
      <td><span class="parametername">img</span></td>
      <td><p>The <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.Image.html#C1_WPF_Word_Canvas_PictureShape_Image">Image</a> contained in the new <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.size">Size</a></td>
      <td><span class="parametername">cellSize</span></td>
      <td><p>The size of the cell that will contain the image, in pixels (used for aligning the image).</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.WPF.Word.ContentAlignment.html">ContentAlignment</a></td>
      <td><span class="parametername">align</span></td>
      <td><p>A <a class="xref" href="C1.WPF.Word.ContentAlignment.html">ContentAlignment</a> value that specifies the position of the image in the cell.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.WPF.Word.Canvas.ImageScaling.html">ImageScaling</a></td>
      <td><span class="parametername">scale</span></td>
      <td><p>An <a class="xref" href="C1.WPF.Word.Canvas.ImageScaling.html">ImageScaling</a> value that specifies the image scaling within the cell.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_WPF_Word_Canvas_PictureShape__ctor_" data-uid="C1.WPF.Word.Canvas.PictureShape.#ctor*"></a>
<h4 id="C1_WPF_Word_Canvas_PictureShape__ctor_C1_WPF_Word_Canvas_IShapeContainer_System_Windows_Media_Imaging_WriteableBitmap_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="C1.WPF.Word.Canvas.PictureShape.#ctor(C1.WPF.Word.Canvas.IShapeContainer,System.Windows.Media.Imaging.WriteableBitmap,System.Int32,System.Int32,System.Int32,System.Int32)">PictureShape(IShapeContainer, WriteableBitmap, int, int, int, int)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of an <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public PictureShape(IShapeContainer container, WriteableBitmap img, int x, int y, int width, int height)</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="C1.WPF.Word.Canvas.IShapeContainer.html">IShapeContainer</a></td>
      <td><span class="parametername">container</span></td>
      <td><p><a class="xref" href="C1.WPF.Word.Canvas.IShapeContainer.html">IShapeContainer</a> object that owns the shape container.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.imaging.writeablebitmap">WriteableBitmap</a></td>
      <td><span class="parametername">img</span></td>
      <td><p>The image contained in the new <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">x</span></td>
      <td><p>The horizontal position of the image with respect to the sheet, in twips.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">y</span></td>
      <td><p>The vertical position of the image with respect to the sheet, in twips.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">width</span></td>
      <td><p>The width of the image, in twips.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">height</span></td>
      <td><p>The height of the image, in twips.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_WPF_Word_Canvas_PictureShape__ctor_" data-uid="C1.WPF.Word.Canvas.PictureShape.#ctor*"></a>
<h4 id="C1_WPF_Word_Canvas_PictureShape__ctor_C1_WPF_Bitmap_C1Bitmap_" data-uid="C1.WPF.Word.Canvas.PictureShape.#ctor(C1.WPF.Bitmap.C1Bitmap)">PictureShape(C1Bitmap)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of an <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public PictureShape(C1Bitmap bmp)</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><span class="xref">C1Bitmap</span></td>
      <td><span class="parametername">bmp</span></td>
      <td><p>The specified bitmap object contained in the new <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_WPF_Word_Canvas_PictureShape__ctor_" data-uid="C1.WPF.Word.Canvas.PictureShape.#ctor*"></a>
<h4 id="C1_WPF_Word_Canvas_PictureShape__ctor_C1_WPF_Bitmap_C1Bitmap_System_Int32_System_Int32_" data-uid="C1.WPF.Word.Canvas.PictureShape.#ctor(C1.WPF.Bitmap.C1Bitmap,System.Int32,System.Int32)">PictureShape(C1Bitmap, int, int)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of an <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public PictureShape(C1Bitmap bmp, int x, int y)</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><span class="xref">C1Bitmap</span></td>
      <td><span class="parametername">bmp</span></td>
      <td><p>The specified bitmap object contained in the new <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">x</span></td>
      <td><p>The horizontal position of the new shape with respect to the cell, in twips.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">y</span></td>
      <td><p>The vertical position of the new shape with respect to the cell, in twips.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_WPF_Word_Canvas_PictureShape__ctor_" data-uid="C1.WPF.Word.Canvas.PictureShape.#ctor*"></a>
<h4 id="C1_WPF_Word_Canvas_PictureShape__ctor_C1_WPF_Bitmap_C1Bitmap_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="C1.WPF.Word.Canvas.PictureShape.#ctor(C1.WPF.Bitmap.C1Bitmap,System.Int32,System.Int32,System.Int32,System.Int32)">PictureShape(C1Bitmap, int, int, int, int)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of an <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public PictureShape(C1Bitmap bmp, int x, int y, int width, int height)</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><span class="xref">C1Bitmap</span></td>
      <td><span class="parametername">bmp</span></td>
      <td><p>The specified bitmap object contained in the new <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">x</span></td>
      <td><p>The horizontal position of the image with respect to the cell, in twips.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">y</span></td>
      <td><p>The vertical position of the image with respect to the cell, in twips.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">width</span></td>
      <td><p>The width of the image, in twips.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">height</span></td>
      <td><p>The height of the image, in twips.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_WPF_Word_Canvas_PictureShape__ctor_" data-uid="C1.WPF.Word.Canvas.PictureShape.#ctor*"></a>
<h4 id="C1_WPF_Word_Canvas_PictureShape__ctor_C1_WPF_Bitmap_C1Bitmap_System_Windows_Rect_" data-uid="C1.WPF.Word.Canvas.PictureShape.#ctor(C1.WPF.Bitmap.C1Bitmap,System.Windows.Rect)">PictureShape(C1Bitmap, Rect)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of an <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public PictureShape(C1Bitmap bmp, Rect rc)</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><span class="xref">C1Bitmap</span></td>
      <td><span class="parametername">bmp</span></td>
      <td><p>The specified bitmap object contained in the new <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.rect">Rect</a></td>
      <td><span class="parametername">rc</span></td>
      <td><p>A rectangle that specifies the image size and position
with respect to the cell, in twips.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_WPF_Word_Canvas_PictureShape__ctor_" data-uid="C1.WPF.Word.Canvas.PictureShape.#ctor*"></a>
<h4 id="C1_WPF_Word_Canvas_PictureShape__ctor_C1_WPF_Bitmap_C1Bitmap_System_Windows_Size_C1_WPF_Word_ContentAlignment_C1_WPF_Word_Canvas_ImageScaling_" data-uid="C1.WPF.Word.Canvas.PictureShape.#ctor(C1.WPF.Bitmap.C1Bitmap,System.Windows.Size,C1.WPF.Word.ContentAlignment,C1.WPF.Word.Canvas.ImageScaling)">PictureShape(C1Bitmap, Size, ContentAlignment, ImageScaling)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of an <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public PictureShape(C1Bitmap bmp, Size cellSize, ContentAlignment align, ImageScaling scale)</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><span class="xref">C1Bitmap</span></td>
      <td><span class="parametername">bmp</span></td>
      <td><p>The specified bitmap object contained in the new <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.size">Size</a></td>
      <td><span class="parametername">cellSize</span></td>
      <td><p>The size of the cell that will contain the image, in pixels (used for aligning the image).</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.WPF.Word.ContentAlignment.html">ContentAlignment</a></td>
      <td><span class="parametername">align</span></td>
      <td><p>A <a class="xref" href="C1.WPF.Word.ContentAlignment.html">ContentAlignment</a> value that specifies the position of the image in the cell.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.WPF.Word.Canvas.ImageScaling.html">ImageScaling</a></td>
      <td><span class="parametername">scale</span></td>
      <td><p>An <a class="xref" href="C1.WPF.Word.Canvas.ImageScaling.html">ImageScaling</a> value that specifies the image scaling within the cell.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_WPF_Word_Canvas_PictureShape__ctor_" data-uid="C1.WPF.Word.Canvas.PictureShape.#ctor*"></a>
<h4 id="C1_WPF_Word_Canvas_PictureShape__ctor_C1_WPF_Word_Canvas_IShapeContainer_C1_WPF_Bitmap_C1Bitmap_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="C1.WPF.Word.Canvas.PictureShape.#ctor(C1.WPF.Word.Canvas.IShapeContainer,C1.WPF.Bitmap.C1Bitmap,System.Int32,System.Int32,System.Int32,System.Int32)">PictureShape(IShapeContainer, C1Bitmap, int, int, int, int)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of an <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public PictureShape(IShapeContainer container, C1Bitmap bmp, int x, int y, int width, int height)</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="C1.WPF.Word.Canvas.IShapeContainer.html">IShapeContainer</a></td>
      <td><span class="parametername">container</span></td>
      <td><p><a class="xref" href="C1.WPF.Word.Canvas.IShapeContainer.html">IShapeContainer</a> object that owns the shape container.</p>
</td>
    </tr>
    <tr>
      <td><span class="xref">C1Bitmap</span></td>
      <td><span class="parametername">bmp</span></td>
      <td><p>The specified bitmap object contained in the new <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">x</span></td>
      <td><p>The horizontal position of the image with respect to the sheet, in twips.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">y</span></td>
      <td><p>The vertical position of the image with respect to the sheet, in twips.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">width</span></td>
      <td><p>The width of the image, in twips.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">height</span></td>
      <td><p>The height of the image, in twips.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
