# GrapeCity.Spreadsheet.Drawing.IShapes

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Spreadsheet_Drawing_IShapes" data-uid="GrapeCity.Spreadsheet.Drawing.IShapes" class="text-break">IShapes Interface
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of all the <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShape.html">IShape</a> objects on the specified sheet.</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_IShapes_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IShapes</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IShapes</code></pre>
  </div>
  <h5 id="GrapeCity_Spreadsheet_Drawing_IShapes_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>Except chart, shape feature work with Spread WinForms only.</p>
</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_IShapes_Count" data-uid="GrapeCity.Spreadsheet.Drawing.IShapes.Count">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapes.Count.html#GrapeCity_Spreadsheet_Drawing_IShapes_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of shapes in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IShapes_Item_System_Int32_" data-uid="GrapeCity.Spreadsheet.Drawing.IShapes.Item(System.Int32)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapes.Item.html#GrapeCity_Spreadsheet_Drawing_IShapes_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShape.html">IShape</a> object at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IShapes_Item_System_String_" data-uid="GrapeCity.Spreadsheet.Drawing.IShapes.Item(System.String)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapes.Item.html#GrapeCity_Spreadsheet_Drawing_IShapes_Item_System_String_">this[string]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShape.html">IShape</a> object with the specified name.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IShapes_SelectedShapes" data-uid="GrapeCity.Spreadsheet.Drawing.IShapes.SelectedShapes">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapes.SelectedShapes.html#GrapeCity_Spreadsheet_Drawing_IShapes_SelectedShapes">SelectedShapes</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapeRange.html">IShapeRange</a> object that represents all selected 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_IShapes_AddCallout_GrapeCity_Spreadsheet_Drawing_CalloutType_System_Double_System_Double_System_Double_System_Double_" data-uid="GrapeCity.Spreadsheet.Drawing.IShapes.AddCallout(GrapeCity.Spreadsheet.Drawing.CalloutType,System.Double,System.Double,System.Double,System.Double)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapes.AddCallout.html#GrapeCity_Spreadsheet_Drawing_IShapes_AddCallout_GrapeCity_Spreadsheet_Drawing_CalloutType_System_Double_System_Double_System_Double_System_Double_">AddCallout(CalloutType, double, double, double, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a borderless line callout.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IShapes_AddCalloutToCell_GrapeCity_Spreadsheet_Drawing_CalloutType_System_Int32_System_Int32_System_Double_System_Double_" data-uid="GrapeCity.Spreadsheet.Drawing.IShapes.AddCalloutToCell(GrapeCity.Spreadsheet.Drawing.CalloutType,System.Int32,System.Int32,System.Double,System.Double)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapes.AddCalloutToCell.html#GrapeCity_Spreadsheet_Drawing_IShapes_AddCalloutToCell_GrapeCity_Spreadsheet_Drawing_CalloutType_System_Int32_System_Int32_System_Double_System_Double_">AddCalloutToCell(CalloutType, int, int, double, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a borderless line callout.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IShapes_AddChart_GrapeCity_Spreadsheet_Charts_BuiltInChartStyles_GrapeCity_Spreadsheet_Charts_ChartType_System_Double_System_Double_System_Double_System_Double_System_Boolean_" data-uid="GrapeCity.Spreadsheet.Drawing.IShapes.AddChart(GrapeCity.Spreadsheet.Charts.BuiltInChartStyles,GrapeCity.Spreadsheet.Charts.ChartType,System.Double,System.Double,System.Double,System.Double,System.Boolean)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapes.AddChart.html#GrapeCity_Spreadsheet_Drawing_IShapes_AddChart_GrapeCity_Spreadsheet_Charts_BuiltInChartStyles_GrapeCity_Spreadsheet_Charts_ChartType_System_Double_System_Double_System_Double_System_Double_System_Boolean_">AddChart(BuiltInChartStyles, ChartType, double, double, double, double, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a chart to the document. Returns an <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShape.html">IShape</a> object that represents a chart and adds it to the specified collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IShapes_AddChart_GrapeCity_Spreadsheet_Charts_ChartType_System_Double_System_Double_System_Double_System_Double_System_Boolean_" data-uid="GrapeCity.Spreadsheet.Drawing.IShapes.AddChart(GrapeCity.Spreadsheet.Charts.ChartType,System.Double,System.Double,System.Double,System.Double,System.Boolean)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapes.AddChart.html#GrapeCity_Spreadsheet_Drawing_IShapes_AddChart_GrapeCity_Spreadsheet_Charts_ChartType_System_Double_System_Double_System_Double_System_Double_System_Boolean_">AddChart(ChartType, double, double, double, double, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a chart to the document. Returns an <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShape.html">IShape</a> object that represents a chart and adds it to the specified collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IShapes_AddConnector_GrapeCity_Spreadsheet_Drawing_ConnectorType_System_Double_System_Double_System_Double_System_Double_" data-uid="GrapeCity.Spreadsheet.Drawing.IShapes.AddConnector(GrapeCity.Spreadsheet.Drawing.ConnectorType,System.Double,System.Double,System.Double,System.Double)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapes.AddConnector.html#GrapeCity_Spreadsheet_Drawing_IShapes_AddConnector_GrapeCity_Spreadsheet_Drawing_ConnectorType_System_Double_System_Double_System_Double_System_Double_">AddConnector(ConnectorType, double, double, double, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a connector.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IShapes_AddConnectorToCell_GrapeCity_Spreadsheet_Drawing_ConnectorType_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="GrapeCity.Spreadsheet.Drawing.IShapes.AddConnectorToCell(GrapeCity.Spreadsheet.Drawing.ConnectorType,System.Int32,System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapes.AddConnectorToCell.html#GrapeCity_Spreadsheet_Drawing_IShapes_AddConnectorToCell_GrapeCity_Spreadsheet_Drawing_ConnectorType_System_Int32_System_Int32_System_Int32_System_Int32_">AddConnectorToCell(ConnectorType, int, int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a connector.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IShapes_AddFormControl_GrapeCity_Spreadsheet_Drawing_FormControl_System_Double_System_Double_System_Double_System_Double_" data-uid="GrapeCity.Spreadsheet.Drawing.IShapes.AddFormControl(GrapeCity.Spreadsheet.Drawing.FormControl,System.Double,System.Double,System.Double,System.Double)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapes.AddFormControl.html#GrapeCity_Spreadsheet_Drawing_IShapes_AddFormControl_GrapeCity_Spreadsheet_Drawing_FormControl_System_Double_System_Double_System_Double_System_Double_">AddFormControl(FormControl, double, double, double, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a form control.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IShapes_AddFormControlToCell_GrapeCity_Spreadsheet_Drawing_FormControl_System_Int32_System_Int32_System_Double_System_Double_" data-uid="GrapeCity.Spreadsheet.Drawing.IShapes.AddFormControlToCell(GrapeCity.Spreadsheet.Drawing.FormControl,System.Int32,System.Int32,System.Double,System.Double)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapes.AddFormControlToCell.html#GrapeCity_Spreadsheet_Drawing_IShapes_AddFormControlToCell_GrapeCity_Spreadsheet_Drawing_FormControl_System_Int32_System_Int32_System_Double_System_Double_">AddFormControlToCell(FormControl, int, int, double, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a form control.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IShapes_AddPicture_System_String_System_Boolean_System_Boolean_System_Double_System_Double_System_Double_System_Double_" data-uid="GrapeCity.Spreadsheet.Drawing.IShapes.AddPicture(System.String,System.Boolean,System.Boolean,System.Double,System.Double,System.Double,System.Double)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapes.AddPicture.html#GrapeCity_Spreadsheet_Drawing_IShapes_AddPicture_System_String_System_Boolean_System_Boolean_System_Double_System_Double_System_Double_System_Double_">AddPicture(string, bool, bool, double, double, double, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a picture from an existing file.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IShapes_AddPictureToCell_System_String_System_Boolean_System_Boolean_System_Int32_System_Int32_System_Double_System_Double_" data-uid="GrapeCity.Spreadsheet.Drawing.IShapes.AddPictureToCell(System.String,System.Boolean,System.Boolean,System.Int32,System.Int32,System.Double,System.Double)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapes.AddPictureToCell.html#GrapeCity_Spreadsheet_Drawing_IShapes_AddPictureToCell_System_String_System_Boolean_System_Boolean_System_Int32_System_Int32_System_Double_System_Double_">AddPictureToCell(string, bool, bool, int, int, double, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a picture from an existing file.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IShapes_AddShape_GrapeCity_Spreadsheet_Drawing_AutoShapeType_System_Double_System_Double_System_Double_System_Double_" data-uid="GrapeCity.Spreadsheet.Drawing.IShapes.AddShape(GrapeCity.Spreadsheet.Drawing.AutoShapeType,System.Double,System.Double,System.Double,System.Double)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapes.AddShape.html#GrapeCity_Spreadsheet_Drawing_IShapes_AddShape_GrapeCity_Spreadsheet_Drawing_AutoShapeType_System_Double_System_Double_System_Double_System_Double_">AddShape(AutoShapeType, double, double, double, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new shape.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IShapes_AddShapeToCell_GrapeCity_Spreadsheet_Drawing_AutoShapeType_System_Int32_System_Int32_System_Double_System_Double_" data-uid="GrapeCity.Spreadsheet.Drawing.IShapes.AddShapeToCell(GrapeCity.Spreadsheet.Drawing.AutoShapeType,System.Int32,System.Int32,System.Double,System.Double)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapes.AddShapeToCell.html#GrapeCity_Spreadsheet_Drawing_IShapes_AddShapeToCell_GrapeCity_Spreadsheet_Drawing_AutoShapeType_System_Int32_System_Int32_System_Double_System_Double_">AddShapeToCell(AutoShapeType, int, int, double, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new shape.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IShapes_AddTextEffect_GrapeCity_Spreadsheet_Drawing_PresetTextEffect_System_String_System_String_System_Double_System_Boolean_System_Boolean_System_Double_System_Double_" data-uid="GrapeCity.Spreadsheet.Drawing.IShapes.AddTextEffect(GrapeCity.Spreadsheet.Drawing.PresetTextEffect,System.String,System.String,System.Double,System.Boolean,System.Boolean,System.Double,System.Double)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapes.AddTextEffect.html#GrapeCity_Spreadsheet_Drawing_IShapes_AddTextEffect_GrapeCity_Spreadsheet_Drawing_PresetTextEffect_System_String_System_String_System_Double_System_Boolean_System_Boolean_System_Double_System_Double_">AddTextEffect(PresetTextEffect, string, string, double, bool, bool, double, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShape.html">IShape</a> object that represents the new text effect object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IShapes_AddTextEffectToCell_GrapeCity_Spreadsheet_Drawing_PresetTextEffect_System_String_System_String_System_Double_System_Boolean_System_Boolean_System_Int32_System_Int32_" data-uid="GrapeCity.Spreadsheet.Drawing.IShapes.AddTextEffectToCell(GrapeCity.Spreadsheet.Drawing.PresetTextEffect,System.String,System.String,System.Double,System.Boolean,System.Boolean,System.Int32,System.Int32)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapes.AddTextEffectToCell.html#GrapeCity_Spreadsheet_Drawing_IShapes_AddTextEffectToCell_GrapeCity_Spreadsheet_Drawing_PresetTextEffect_System_String_System_String_System_Double_System_Boolean_System_Boolean_System_Int32_System_Int32_">AddTextEffectToCell(PresetTextEffect, string, string, double, bool, bool, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShape.html">IShape</a> object that represents the new text effect object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IShapes_BuildFreeform_GrapeCity_Spreadsheet_Drawing_EditingType_System_Double_System_Double_" data-uid="GrapeCity.Spreadsheet.Drawing.IShapes.BuildFreeform(GrapeCity.Spreadsheet.Drawing.EditingType,System.Double,System.Double)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapes.BuildFreeform.html#GrapeCity_Spreadsheet_Drawing_IShapes_BuildFreeform_GrapeCity_Spreadsheet_Drawing_EditingType_System_Double_System_Double_">BuildFreeform(EditingType, double, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Builds a freeform object. Returns a <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IFreeFormBuilder.html">IFreeFormBuilder</a> object that represents the freeform as it is being built.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IShapes_Delete" data-uid="GrapeCity.Spreadsheet.Drawing.IShapes.Delete">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapes.Delete.html#GrapeCity_Spreadsheet_Drawing_IShapes_Delete">Delete()</a>
        </td>
        <td class="markdown level1 summary"><p>Deletes all shapes.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IShapes_Range" data-uid="GrapeCity.Spreadsheet.Drawing.IShapes.Range">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapes.Range.html#GrapeCity_Spreadsheet_Drawing_IShapes_Range">Range()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapeRange.html">IShapeRange</a> object that represents all shapes in a <a class="xref" href="GrapeCity.Spreadsheet.IWorksheet.html">IWorksheet</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IShapes_Range_System_Int32___" data-uid="GrapeCity.Spreadsheet.Drawing.IShapes.Range(System.Int32[])">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapes.Range.html#GrapeCity_Spreadsheet_Drawing_IShapes_Range_System_Int32___">Range(params int[])</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapeRange.html">IShapeRange</a> object that represents a subset of the shapes in a <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapes.html">IShapes</a> collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IShapes_Range_System_Object___" data-uid="GrapeCity.Spreadsheet.Drawing.IShapes.Range(System.Object[])">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapes.Range.html#GrapeCity_Spreadsheet_Drawing_IShapes_Range_System_Object___">Range(params object[])</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapeRange.html">IShapeRange</a> object that represents a subset of the shapes in a <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapes.html">IShapes</a> collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IShapes_Range_System_String___" data-uid="GrapeCity.Spreadsheet.Drawing.IShapes.Range(System.String[])">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapes.Range.html#GrapeCity_Spreadsheet_Drawing_IShapes_Range_System_String___">Range(params string[])</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapeRange.html">IShapeRange</a> object that represents a subset of the shapes in a <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapes.html">IShapes</a> collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IShapes_SelectAll" data-uid="GrapeCity.Spreadsheet.Drawing.IShapes.SelectAll">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShapes.SelectAll.html#GrapeCity_Spreadsheet_Drawing_IShapes_SelectAll">SelectAll()</a>
        </td>
        <td class="markdown level1 summary"><p>Selects all the shapes in the specified Shapes collection.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
