# GrapeCity.Spreadsheet.Drawing.IPictureEffects.Insert

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Spreadsheet_Drawing_IPictureEffects_Insert_" data-uid="GrapeCity.Spreadsheet.Drawing.IPictureEffects.Insert*">Insert Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Spreadsheet_Drawing_IPictureEffects_Insert_" data-uid="GrapeCity.Spreadsheet.Drawing.IPictureEffects.Insert*"></a>
<h4 id="GrapeCity_Spreadsheet_Drawing_IPictureEffects_Insert_GrapeCity_Spreadsheet_Drawing_PictureEffectType_System_Int32_" data-uid="GrapeCity.Spreadsheet.Drawing.IPictureEffects.Insert(GrapeCity.Spreadsheet.Drawing.PictureEffectType,System.Int32)">Insert(PictureEffectType, int)</h4>
<div class="markdown level1 summary"><p>Inserts a picture effect in a chain of composite effects.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">IPictureEffect Insert(PictureEffectType effectType, int position = -1)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function Insert(effectType As PictureEffectType, Optional position As Integer = -1) As IPictureEffect</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="GrapeCity.Spreadsheet.Drawing.PictureEffectType.html">PictureEffectType</a></td>
      <td><span class="parametername">effectType</span></td>
      <td><p>An enumeration specifying the type of picture effect.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">position</span></td>
      <td><p>The position of the effect in the composite chain of picture effects.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</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.Spreadsheet.Drawing.IPictureEffect.html">IPictureEffect</a></td>
      <td><p>The inserted <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IPictureEffect.html">IPictureEffect</a> object.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Spreadsheet_Drawing_IPictureEffects_Insert_GrapeCity_Spreadsheet_Drawing_PictureEffectType_System_Int32__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Picture effects are processed as a chain composed of individual items that are applied in sequence to create the final composited image.
An effects chain will allow an effect to be added to the chain, reordered, or removed from the chain.</p>
</div>
</div>
