# C1.Win.C1Editor.UICustomization.XHTMLItemBase.ReadHorAlignAttribute

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_C1Editor_UICustomization_XHTMLItemBase_ReadHorAlignAttribute_" data-uid="C1.Win.C1Editor.UICustomization.XHTMLItemBase.ReadHorAlignAttribute*">ReadHorAlignAttribute Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_C1Editor_UICustomization_XHTMLItemBase_ReadHorAlignAttribute_" data-uid="C1.Win.C1Editor.UICustomization.XHTMLItemBase.ReadHorAlignAttribute*"></a>
<h4 id="C1_Win_C1Editor_UICustomization_XHTMLItemBase_ReadHorAlignAttribute_System_Xml_XmlAttributeCollection_C1_Win_C1Editor_UICustomization_HorizontalAlignment__" data-uid="C1.Win.C1Editor.UICustomization.XHTMLItemBase.ReadHorAlignAttribute(System.Xml.XmlAttributeCollection,C1.Win.C1Editor.UICustomization.HorizontalAlignment@)">ReadHorAlignAttribute(XmlAttributeCollection, ref HorizontalAlignment)</h4>
<div class="markdown level1 summary"><p>For internal use.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected void ReadHorAlignAttribute(XmlAttributeCollection attrs, ref HorizontalAlignment target)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Sub ReadHorAlignAttribute(attrs As XmlAttributeCollection, ByRef target 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="https://learn.microsoft.com/dotnet/api/system.xml.xmlattributecollection">XmlAttributeCollection</a></td>
      <td><span class="parametername">attrs</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Win.C1Editor.UICustomization.HorizontalAlignment.html">HorizontalAlignment</a></td>
      <td><span class="parametername">target</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
