# GrapeCity.Documents.Excel.IRange.CellPicture

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Excel_IRange_CellPicture_" data-uid="GrapeCity.Documents.Excel.IRange.CellPicture*">CellPicture Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Excel_IRange_CellPicture_" data-uid="GrapeCity.Documents.Excel.IRange.CellPicture*"></a>
<h4 id="GrapeCity_Documents_Excel_IRange_CellPicture" data-uid="GrapeCity.Documents.Excel.IRange.CellPicture">CellPicture</h4>
<div class="markdown level1 summary"><p>Gets or sets the in-cell picture of the specified cell.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">CellPicture CellPicture { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Property CellPicture As CellPicture</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Excel.CellPicture.html">CellPicture</a></td>
      <td><p>A <a class="xref" href="GrapeCity.Documents.Excel.IRange.CellPicture.html#GrapeCity_Documents_Excel_IRange_CellPicture">CellPicture</a> object if present; otherwise, <code>null</code>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Documents_Excel_IRange_CellPicture_remarks">Remarks</h5>
<div class="markdown level1 remarks"><pre><code>&lt;p&gt;
</code></pre>
<p>Getting this property returns <code>null</code> if the cell does not contain an in-cell picture.
When the range contains multiple cells, only the top-left cell is evaluated.</p>

    <p>
This property also supports reading valid pictures generated by the <code>IMAGE()</code> function.
</p>
    <p>
The returned <a class="xref" href="GrapeCity.Documents.Excel.IRange.CellPicture.html#GrapeCity_Documents_Excel_IRange_CellPicture">CellPicture</a> object is a copy of the picture data.
Modifying the returned object does not affect the picture stored in the cell.
To apply changes, the modified <a class="xref" href="GrapeCity.Documents.Excel.IRange.CellPicture.html#GrapeCity_Documents_Excel_IRange_CellPicture">CellPicture</a> must be reassigned to this property.
</p>
    <p>
Setting this property to <code>null</code> removes the existing in-cell picture.
When the range contains multiple cells, the picture is applied to each cell.
</p>
</div>
</div>
