# GrapeCity.Spreadsheet.Drawing.IPicture

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Spreadsheet_Drawing_IPicture" data-uid="GrapeCity.Spreadsheet.Drawing.IPicture" class="text-break">IPicture Interface
</h1>
  <div class="markdown level0 summary"><p>Represents a picture in the drawing layer.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Spreadsheet.Drawing.html">GrapeCity.Spreadsheet.Drawing</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Spreadsheet.dll</h6>
  <h5 id="GrapeCity_Spreadsheet_Drawing_IPicture_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IPicture : IDrawingObject</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IPicture
    Inherits IDrawingObject</code></pre>
  </div>
  <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="GrapeCity_Spreadsheet_Drawing_IPicture_Formula" data-uid="GrapeCity.Spreadsheet.Drawing.IPicture.Formula">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IPicture.Formula.html#GrapeCity_Spreadsheet_Drawing_IPicture_Formula">Formula</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the shape formula.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IPicture_Shadow" data-uid="GrapeCity.Spreadsheet.Drawing.IPicture.Shadow">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IPicture.Shadow.html#GrapeCity_Spreadsheet_Drawing_IPicture_Shadow">Shadow</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShadowFormat.html">IShadowFormat</a> object that contains shadow formatting properties for the specified shape or shapes.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IPicture_ChangeImage_System_Byte___GrapeCity_Drawing_AspectRatio_" data-uid="GrapeCity.Spreadsheet.Drawing.IPicture.ChangeImage(System.Byte[],GrapeCity.Drawing.AspectRatio)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IPicture.ChangeImage.html#GrapeCity_Spreadsheet_Drawing_IPicture_ChangeImage_System_Byte___GrapeCity_Drawing_AspectRatio_">ChangeImage(byte[], AspectRatio)</a>
        </td>
        <td class="markdown level1 summary"><p>Replaces the current image with a different image.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IPicture_ChangeImage_System_IO_Stream_GrapeCity_Drawing_AspectRatio_" data-uid="GrapeCity.Spreadsheet.Drawing.IPicture.ChangeImage(System.IO.Stream,GrapeCity.Drawing.AspectRatio)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IPicture.ChangeImage.html#GrapeCity_Spreadsheet_Drawing_IPicture_ChangeImage_System_IO_Stream_GrapeCity_Drawing_AspectRatio_">ChangeImage(Stream, AspectRatio)</a>
        </td>
        <td class="markdown level1 summary"><p>Replaces the current image with a different image.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IPicture_ChangeImage_System_String_GrapeCity_Drawing_AspectRatio_" data-uid="GrapeCity.Spreadsheet.Drawing.IPicture.ChangeImage(System.String,GrapeCity.Drawing.AspectRatio)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IPicture.ChangeImage.html#GrapeCity_Spreadsheet_Drawing_IPicture_ChangeImage_System_String_GrapeCity_Drawing_AspectRatio_">ChangeImage(string, AspectRatio)</a>
        </td>
        <td class="markdown level1 summary"><p>Replaces the current image with a different image.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IPicture_Paste_GrapeCity_Drawing_AspectRatio_" data-uid="GrapeCity.Spreadsheet.Drawing.IPicture.Paste(GrapeCity.Drawing.AspectRatio)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IPicture.Paste.html#GrapeCity_Spreadsheet_Drawing_IPicture_Paste_GrapeCity_Drawing_AspectRatio_">Paste(AspectRatio)</a>
        </td>
        <td class="markdown level1 summary"><p>Replaces the current image with the image from clipboard.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IPicture_Action" data-uid="GrapeCity.Spreadsheet.Drawing.IPicture.Action">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IPicture.Action.html">Action</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the shape is chosen.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
