# GrapeCity.Spreadsheet.Drawing.IShapeRange.Align

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Spreadsheet_Drawing_IShapeRange_Align_" data-uid="GrapeCity.Spreadsheet.Drawing.IShapeRange.Align*">Align Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Spreadsheet_Drawing_IShapeRange_Align_" data-uid="GrapeCity.Spreadsheet.Drawing.IShapeRange.Align*"></a>
<h4 id="GrapeCity_Spreadsheet_Drawing_IShapeRange_Align_GrapeCity_Spreadsheet_Drawing_AlignCommand_" data-uid="GrapeCity.Spreadsheet.Drawing.IShapeRange.Align(GrapeCity.Spreadsheet.Drawing.AlignCommand)">Align(AlignCommand)</h4>
<div class="markdown level1 summary"><p>Aligns the shapes in the specified range of shapes.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">void Align(AlignCommand alignCmd)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Sub Align(alignCmd As AlignCommand)</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.AlignCommand.html">AlignCommand</a></td>
      <td><span class="parametername">alignCmd</span></td>
      <td><p>The alignment command.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
