# GrapeCity.Spreadsheet.IRange.Orientation

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Spreadsheet_IRange_Orientation_" data-uid="GrapeCity.Spreadsheet.IRange.Orientation*">Orientation Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Spreadsheet_IRange_Orientation_" data-uid="GrapeCity.Spreadsheet.IRange.Orientation*"></a>
<h4 id="GrapeCity_Spreadsheet_IRange_Orientation" data-uid="GrapeCity.Spreadsheet.IRange.Orientation">Orientation</h4>
<div class="markdown level1 summary"><p>Gets or sets the text orientation.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">int Orientation { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Property Orientation As Integer</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="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><p>An integer value represents the text orientation.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Spreadsheet_IRange_Orientation_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>There are special values that can be set to <a class="xref" href="GrapeCity.Spreadsheet.IRange.Orientation.html#GrapeCity_Spreadsheet_IRange_Orientation">Orientation</a>. They can be found from <a class="xref" href="GrapeCity.Spreadsheet.Alignment.html">Alignment</a>.</p>
<p>
Horizontal text: <a class="xref" href="GrapeCity.Spreadsheet.Alignment.HorizontalText.html">HorizontalText</a></p><p>
Upward text: <a class="xref" href="GrapeCity.Spreadsheet.Alignment.UpwardText.html">UpwardText</a></p><p>
Downward text: <a class="xref" href="GrapeCity.Spreadsheet.Alignment.DownwardText.html">DownwardText</a></p><p>
Vertical text: <a class="xref" href="GrapeCity.Spreadsheet.Alignment.VerticalText.html">VerticalText</a></p>
</div>
</div>
