# GrapeCity.Documents.Excel.Drawing.IConnectorFormat.BeginConnect

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Excel_Drawing_IConnectorFormat_BeginConnect_" data-uid="GrapeCity.Documents.Excel.Drawing.IConnectorFormat.BeginConnect*">BeginConnect Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Excel_Drawing_IConnectorFormat_BeginConnect_" data-uid="GrapeCity.Documents.Excel.Drawing.IConnectorFormat.BeginConnect*"></a>
<h4 id="GrapeCity_Documents_Excel_Drawing_IConnectorFormat_BeginConnect_GrapeCity_Documents_Excel_Drawing_IShape_System_Int32_" data-uid="GrapeCity.Documents.Excel.Drawing.IConnectorFormat.BeginConnect(GrapeCity.Documents.Excel.Drawing.IShape,System.Int32)">BeginConnect(IShape, int)</h4>
<div class="markdown level1 summary"><p>Attaches the beginning of the specified connector to a specified shape.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">void BeginConnect(IShape connectedShape, int connectionSite)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Sub BeginConnect(connectedShape As IShape, connectionSite As Integer)</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.Documents.Excel.Drawing.IShape.html">IShape</a></td>
      <td><span class="parametername">connectedShape</span></td>
      <td><p>Required <a class="xref" href="GrapeCity.Documents.Excel.Drawing.IShape.html">IShape</a> object. The shape to attach the beginning of the connector to. The specified Shape object must be in the same <a class="xref" href="GrapeCity.Documents.Excel.Drawing.IShapes.html">IShapes</a> collection as the connector.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">connectionSite</span></td>
      <td><p>Required Integer. A connection site on the shape specified by ConnectedShape.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
