# FarPoint.Win.Spread.CellType.HyperLinkCellType.ToHorizontalAlignment

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_CellType_HyperLinkCellType_ToHorizontalAlignment_" data-uid="FarPoint.Win.Spread.CellType.HyperLinkCellType.ToHorizontalAlignment*">ToHorizontalAlignment Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_CellType_HyperLinkCellType_ToHorizontalAlignment_" data-uid="FarPoint.Win.Spread.CellType.HyperLinkCellType.ToHorizontalAlignment*"></a>
<h4 id="FarPoint_Win_Spread_CellType_HyperLinkCellType_ToHorizontalAlignment_FarPoint_Win_Spread_CellHorizontalAlignment_" data-uid="FarPoint.Win.Spread.CellType.HyperLinkCellType.ToHorizontalAlignment(FarPoint.Win.Spread.CellHorizontalAlignment)">ToHorizontalAlignment(CellHorizontalAlignment)</h4>
<div class="markdown level1 summary"><p>Converts a FarPoint.Win.Spread.CellHorizontalAlignment value to the corresponding FarPoint.Win.HorizontalAlignment value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected virtual HorizontalAlignment ToHorizontalAlignment(CellHorizontalAlignment alignment)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overridable Function ToHorizontalAlignment(alignment As CellHorizontalAlignment) As HorizontalAlignment</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="FarPoint.Win.Spread.CellHorizontalAlignment.html">CellHorizontalAlignment</a></td>
      <td><span class="parametername">alignment</span></td>
      <td><p>FarPoint.Win.Spread.CellHorizontalAlignment value</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="../FarPoint.Win/FarPoint.Win.HorizontalAlignment.html">HorizontalAlignment</a></td>
      <td><p>Corresponding FarPoint.Win.HorizontalAlignment value</p>
</td>
    </tr>
  </tbody>
</table>
</div>
