# GrapeCity.ActiveReports.PageReportModel.Style.TextAlign

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_ActiveReports_PageReportModel_Style_TextAlign_" data-uid="GrapeCity.ActiveReports.PageReportModel.Style.TextAlign*">TextAlign Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_PageReportModel_Style_TextAlign_" data-uid="GrapeCity.ActiveReports.PageReportModel.Style.TextAlign*"></a>
<h4 id="GrapeCity_ActiveReports_PageReportModel_Style_TextAlign" data-uid="GrapeCity.ActiveReports.PageReportModel.Style.TextAlign">TextAlign</h4>
<div class="markdown level1 summary"><p>Gets or sets a horizontal alignment of the text.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[ExpressionBaseType(typeof(TextAlign))]
public ExpressionInfo TextAlign { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</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="../MESCIUS.ActiveReports.Core.Data.ExpressionInfo/GrapeCity.Enterprise.Data.Expressions.ExpressionInfo.html">ExpressionInfo</a></td>
      <td><p>An <a class="xref" href="../MESCIUS.ActiveReports.Core.Data.ExpressionInfo/GrapeCity.Enterprise.Data.Expressions.ExpressionInfo.html">ExpressionInfo</a> object that evaluates to a <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.TextAlign.html">TextAlign</a> enumeration indicating the horizontal alignment of the text.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_PageReportModel_Style_TextAlign_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Valid values are listed in the table below.</p>
<table><thead><tr><th class="term">TextAlign</th><th class="description">Description</th></tr></thead><tbody><tr><td class="term">General</td><td class="description">The alignment is based on the content type.</td></tr><tr><td class="term">Left</td><td class="description">Text is aligned to the left.</td></tr><tr><td class="term">Center</td><td class="description">Text is centered in the control.</td></tr><tr><td class="term">Right</td><td class="description">Text is aligned to the right.</td></tr><tr><td class="term">Justify</td><td class="description">Text stretched from the left to the right.</td></tr></tbody></table>
</div>
</div>
