# C1.WPF.RichTextBox.Documents.C1TextPointer.GetSymbol

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_RichTextBox_Documents_C1TextPointer_GetSymbol_" data-uid="C1.WPF.RichTextBox.Documents.C1TextPointer.GetSymbol*">GetSymbol Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_RichTextBox_Documents_C1TextPointer_GetSymbol_" data-uid="C1.WPF.RichTextBox.Documents.C1TextPointer.GetSymbol*"></a>
<h4 id="C1_WPF_RichTextBox_Documents_C1TextPointer_GetSymbol_System_Windows_Documents_LogicalDirection_" data-uid="C1.WPF.RichTextBox.Documents.C1TextPointer.GetSymbol(System.Windows.Documents.LogicalDirection)">GetSymbol(LogicalDirection)</h4>
<div class="markdown level1 summary"><p>Gets the symbol at the specified direction from this position.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public object GetSymbol(LogicalDirection direction)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function GetSymbol(direction As LogicalDirection) As Object</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.windows.documents.logicaldirection">LogicalDirection</a></td>
      <td><span class="parametername">direction</span></td>
      <td><p>The direction.</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="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><p>The symbol at the specified direction.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_WPF_RichTextBox_Documents_C1TextPointer_GetSymbol_System_Windows_Documents_LogicalDirection__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>A symbol is either:</p>
<ul><li>A start or end tag of a <a class="xref" href="C1.WPF.RichTextBox.Documents.C1TextElement.html">C1TextElement</a> (see <a class="xref" href="C1.WPF.RichTextBox.Documents.StartTag.html">StartTag</a> and <a class="xref" href="C1.WPF.RichTextBox.Documents.EndTag.html">EndTag</a>).</li><li>A character inside a <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Run.html">C1Run</a>.</li><li>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.uielement">UIElement</a> in a <a class="xref" href="C1.WPF.RichTextBox.Documents.C1BlockUIContainer.html">C1BlockUIContainer</a> or a <a class="xref" href="C1.WPF.RichTextBox.Documents.C1InlineUIContainer.html">C1InlineUIContainer</a>.</li></ul>
</div>
</div>
