# C1.Util.DX.DirectWrite.TextAnalysisSource1.GetVerticalGlyphOrientation

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_DirectWrite_TextAnalysisSource1_GetVerticalGlyphOrientation_" data-uid="C1.Util.DX.DirectWrite.TextAnalysisSource1.GetVerticalGlyphOrientation*">GetVerticalGlyphOrientation Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_DirectWrite_TextAnalysisSource1_GetVerticalGlyphOrientation_" data-uid="C1.Util.DX.DirectWrite.TextAnalysisSource1.GetVerticalGlyphOrientation*"></a>
<h4 id="C1_Util_DX_DirectWrite_TextAnalysisSource1_GetVerticalGlyphOrientation_System_Int32_System_Int32__C1_Util_DX_DirectWrite_VerticalGlyphOrientation__System_Byte__" data-uid="C1.Util.DX.DirectWrite.TextAnalysisSource1.GetVerticalGlyphOrientation(System.Int32,System.Int32@,C1.Util.DX.DirectWrite.VerticalGlyphOrientation@,System.Byte@)">GetVerticalGlyphOrientation(int, out int, out VerticalGlyphOrientation, out byte)</h4>
<div class="markdown level1 summary"><p>Used by the text analyzer to obtain the desired glyph orientation and resolved bidi level.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">void GetVerticalGlyphOrientation(int textPosition, out int textLength, out VerticalGlyphOrientation glyphOrientation, out byte bidiLevel)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Sub GetVerticalGlyphOrientation(textPosition As Integer, ByRef textLength As Integer, ByRef glyphOrientation As VerticalGlyphOrientation, ByRef bidiLevel As Byte)</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.int32">int</a></td>
      <td><span class="parametername">textPosition</span></td>
      <td><p>The text position.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">textLength</span></td>
      <td><p>A reference to the text length.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.DirectWrite.VerticalGlyphOrientation.html">VerticalGlyphOrientation</a></td>
      <td><span class="parametername">glyphOrientation</span></td>
      <td><p>A <strong><a class="xref" href="C1.Util.DX.DirectWrite.VerticalGlyphOrientation.html">VerticalGlyphOrientation</a></strong>-typed value that specifies the desired kind of glyph orientation for the text.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.byte">byte</a></td>
      <td><span class="parametername">bidiLevel</span></td>
      <td><p>A reference to the resolved bidi level.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Util_DX_DirectWrite_TextAnalysisSource1_GetVerticalGlyphOrientation_System_Int32_System_Int32__C1_Util_DX_DirectWrite_VerticalGlyphOrientation__System_Byte___remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The text analyzer calls back to this to get the desired glyph orientation and resolved bidi level, which it uses along with the script properties of the text to determine the actual orientation of each character, which it reports back to the client via the sink SetGlyphOrientation method.</p>
</div>
</div>
