# C1.WPF.Word.Canvas.PictureShape

## Content

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



  <h1 id="C1_WPF_Word_Canvas_PictureShape" data-uid="C1.WPF.Word.Canvas.PictureShape" class="text-break">PictureShape Class
</h1>
  <div class="markdown level0 summary"><p>Represents an <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.Image.html#C1_WPF_Word_Canvas_PictureShape_Image">Image</a> embedded in a shape container.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="C1.WPF.Word.Canvas.DrawingShape.html">DrawingShape</a></div>
    <div class="level2"><a class="xref" href="C1.WPF.Word.Canvas.FilledShape.html">FilledShape</a></div>
    <div class="level3"><span class="xref">PictureShape</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.WPF.Word.Objects.IRtfContent.html">IRtfContent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Word.Canvas.html">C1.WPF.Word.Canvas</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Word.4.6.2.dll</h6>
  <h5 id="C1_WPF_Word_Canvas_PictureShape_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class PictureShape : FilledShape, IRtfContent, IEnumerable</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Word_Canvas_PictureShape__ctor" data-uid="C1.WPF.Word.Canvas.PictureShape.#ctor">
          <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.-ctor.html#C1_WPF_Word_Canvas_PictureShape__ctor">PictureShape()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of an <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Word_Canvas_PictureShape__ctor_C1_WPF_Bitmap_C1Bitmap_" data-uid="C1.WPF.Word.Canvas.PictureShape.#ctor(C1.WPF.Bitmap.C1Bitmap)">
          <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.-ctor.html#C1_WPF_Word_Canvas_PictureShape__ctor_C1_WPF_Bitmap_C1Bitmap_">PictureShape(C1Bitmap)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of an <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</td>
      </tr>
      <tr>
        <td 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)">
          <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.-ctor.html#C1_WPF_Word_Canvas_PictureShape__ctor_C1_WPF_Bitmap_C1Bitmap_System_Int32_System_Int32_">PictureShape(C1Bitmap, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of an <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</td>
      </tr>
      <tr>
        <td 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)">
          <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.-ctor.html#C1_WPF_Word_Canvas_PictureShape__ctor_C1_WPF_Bitmap_C1Bitmap_System_Int32_System_Int32_System_Int32_System_Int32_">PictureShape(C1Bitmap, int, int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of an <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</td>
      </tr>
      <tr>
        <td 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)">
          <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.-ctor.html#C1_WPF_Word_Canvas_PictureShape__ctor_C1_WPF_Bitmap_C1Bitmap_System_Windows_Rect_">PictureShape(C1Bitmap, Rect)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of an <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</td>
      </tr>
      <tr>
        <td 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)">
          <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.-ctor.html#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)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of an <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</td>
      </tr>
      <tr>
        <td 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)">
          <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.-ctor.html#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)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of an <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</td>
      </tr>
      <tr>
        <td 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)">
          <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.-ctor.html#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)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of an <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</td>
      </tr>
      <tr>
        <td 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)">
          <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.-ctor.html#C1_WPF_Word_Canvas_PictureShape__ctor_System_Windows_Media_Imaging_WriteableBitmap_">PictureShape(WriteableBitmap)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of an <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</td>
      </tr>
      <tr>
        <td 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)">
          <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.-ctor.html#C1_WPF_Word_Canvas_PictureShape__ctor_System_Windows_Media_Imaging_WriteableBitmap_System_Int32_System_Int32_">PictureShape(WriteableBitmap, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of an <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</td>
      </tr>
      <tr>
        <td 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)">
          <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.-ctor.html#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)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of an <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</td>
      </tr>
      <tr>
        <td 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)">
          <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.-ctor.html#C1_WPF_Word_Canvas_PictureShape__ctor_System_Windows_Media_Imaging_WriteableBitmap_System_Windows_Rect_">PictureShape(WriteableBitmap, Rect)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of an <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</td>
      </tr>
      <tr>
        <td 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)">
          <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.-ctor.html#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)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of an <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Word_Canvas_PictureShape_BottomClip" data-uid="C1.WPF.Word.Canvas.PictureShape.BottomClip">
          <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.BottomClip.html#C1_WPF_Word_Canvas_PictureShape_BottomClip">BottomClip</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the bottom clipping area of this <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>, in twips.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Word_Canvas_PictureShape_Brightness" data-uid="C1.WPF.Word.Canvas.PictureShape.Brightness">
          <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.Brightness.html#C1_WPF_Word_Canvas_PictureShape_Brightness">Brightness</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the brightness of this <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a> (between 0 and 1).</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Word_Canvas_PictureShape_Contrast" data-uid="C1.WPF.Word.Canvas.PictureShape.Contrast">
          <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.Contrast.html#C1_WPF_Word_Canvas_PictureShape_Contrast">Contrast</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the contrast of this <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a> (between 0 and 1).</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Word_Canvas_PictureShape_FileName" data-uid="C1.WPF.Word.Canvas.PictureShape.FileName">
          <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.FileName.html#C1_WPF_Word_Canvas_PictureShape_FileName">FileName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the file name of this <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Word_Canvas_PictureShape_Image" data-uid="C1.WPF.Word.Canvas.PictureShape.Image">
          <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.Image.html#C1_WPF_Word_Canvas_PictureShape_Image">Image</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a reference to the <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.Image.html#C1_WPF_Word_Canvas_PictureShape_Image">Image</a> contained in this <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Word_Canvas_PictureShape_IsEmpty" data-uid="C1.WPF.Word.Canvas.PictureShape.IsEmpty">
          <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.IsEmpty.html#C1_WPF_Word_Canvas_PictureShape_IsEmpty">IsEmpty</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the shape is empty.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Word_Canvas_PictureShape_LeftClip" data-uid="C1.WPF.Word.Canvas.PictureShape.LeftClip">
          <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.LeftClip.html#C1_WPF_Word_Canvas_PictureShape_LeftClip">LeftClip</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the left clipping area of this <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>, in twips.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Word_Canvas_PictureShape_RightClip" data-uid="C1.WPF.Word.Canvas.PictureShape.RightClip">
          <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.RightClip.html#C1_WPF_Word_Canvas_PictureShape_RightClip">RightClip</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the right clipping area of this <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>, in twips.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Word_Canvas_PictureShape_TopClip" data-uid="C1.WPF.Word.Canvas.PictureShape.TopClip">
          <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.TopClip.html#C1_WPF_Word_Canvas_PictureShape_TopClip">TopClip</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the top clipping area of this <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a>, in twips.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Word_Canvas_PictureShape_ViewType" data-uid="C1.WPF.Word.Canvas.PictureShape.ViewType">
          <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.ViewType.html#C1_WPF_Word_Canvas_PictureShape_ViewType">ViewType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets wheether this <a class="xref" href="C1.WPF.Word.Canvas.PictureShape.html">PictureShape</a> should be displayed in color, grayscale, or black and white.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
