# GrapeCity.Spreadsheet.Drawing.ShapeEventArgs.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Spreadsheet_Drawing_ShapeEventArgs__ctor_" data-uid="GrapeCity.Spreadsheet.Drawing.ShapeEventArgs.#ctor*">ShapeEventArgs Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Spreadsheet_Drawing_ShapeEventArgs__ctor_" data-uid="GrapeCity.Spreadsheet.Drawing.ShapeEventArgs.#ctor*"></a>
<h4 id="GrapeCity_Spreadsheet_Drawing_ShapeEventArgs__ctor_GrapeCity_Spreadsheet_Drawing_IShape_GrapeCity_Spreadsheet_Drawing_ShapeChangeType_" data-uid="GrapeCity.Spreadsheet.Drawing.ShapeEventArgs.#ctor(GrapeCity.Spreadsheet.Drawing.IShape,GrapeCity.Spreadsheet.Drawing.ShapeChangeType)">ShapeEventArgs(IShape, ShapeChangeType)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Spreadsheet.Drawing.ShapeEventArgs.html">ShapeEventArgs</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ShapeEventArgs(IShape shape, ShapeChangeType type)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(shape As IShape, type As ShapeChangeType)</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.IShape.html">IShape</a></td>
      <td><span class="parametername">shape</span></td>
      <td><p>The shape.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Spreadsheet.Drawing.ShapeChangeType.html">ShapeChangeType</a></td>
      <td><span class="parametername">type</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Spreadsheet_Drawing_ShapeEventArgs__ctor_" data-uid="GrapeCity.Spreadsheet.Drawing.ShapeEventArgs.#ctor*"></a>
<h4 id="GrapeCity_Spreadsheet_Drawing_ShapeEventArgs__ctor_GrapeCity_Spreadsheet_Drawing_IShape___GrapeCity_Spreadsheet_Drawing_ShapeChangeType_" data-uid="GrapeCity.Spreadsheet.Drawing.ShapeEventArgs.#ctor(GrapeCity.Spreadsheet.Drawing.IShape[],GrapeCity.Spreadsheet.Drawing.ShapeChangeType)">ShapeEventArgs(IShape[], ShapeChangeType)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Spreadsheet.Drawing.ShapeEventArgs.html">ShapeEventArgs</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ShapeEventArgs(IShape[] shapes, ShapeChangeType type)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(shapes As IShape(), type As ShapeChangeType)</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.IShape.html">IShape</a>[]</td>
      <td><span class="parametername">shapes</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Spreadsheet.Drawing.ShapeChangeType.html">ShapeChangeType</a></td>
      <td><span class="parametername">type</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
