# C1.Win.SpellChecker.ISpellCheckableRichEditor

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_SpellChecker_ISpellCheckableRichEditor" data-uid="C1.Win.SpellChecker.ISpellCheckableRichEditor" class="text-break">ISpellCheckableRichEditor Interface
</h1>
  <div class="markdown level0 summary"><p>Interface used to provide as-you-type spell-checking services using a <a class="xref" href="C1.Win.SpellChecker.C1SpellChecker.html">C1SpellChecker</a>.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.SpellChecker.html">C1.Win.SpellChecker</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.SpellChecker.10.dll</h6>
  <h5 id="C1_Win_SpellChecker_ISpellCheckableRichEditor_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface ISpellCheckableRichEditor : ISpellCheckableEditor</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface ISpellCheckableRichEditor
    Inherits ISpellCheckableEditor</code></pre>
  </div>
  <h5 id="C1_Win_SpellChecker_ISpellCheckableRichEditor_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>The <a class="xref" href="C1.Win.SpellChecker.C1SpellChecker.html">C1SpellChecker</a> can provide as-you-type spell-checking for classes derived from
the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.richtextbox">RichTextBox</a> class.</p>
<p>To use <a class="xref" href="C1.Win.SpellChecker.C1SpellChecker.html">C1SpellChecker</a> with other editors, you should create a class that 
implements the <a class="xref" href="C1.Win.SpellChecker.ISpellCheckableRichEditor.html">ISpellCheckableRichEditor</a> interface on behalf of the editor.</p>
</div>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_SpellChecker_ISpellCheckableRichEditor_GetBaselineOffset_C1_Win_SpellChecker_CharRange_" data-uid="C1.Win.SpellChecker.ISpellCheckableRichEditor.GetBaselineOffset(C1.Win.SpellChecker.CharRange)">
          <a class="xref" href="C1.Win.SpellChecker.ISpellCheckableRichEditor.GetBaselineOffset.html#C1_Win_SpellChecker_ISpellCheckableRichEditor_GetBaselineOffset_C1_Win_SpellChecker_CharRange_">GetBaselineOffset(CharRange)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the distance in pixels between the Y position returned by <a class="xref" href="C1.Win.SpellChecker.ISpellCheckableRichEditor.GetPositionFromCharIndex.html#C1_Win_SpellChecker_ISpellCheckableRichEditor_GetPositionFromCharIndex_System_Int32_">GetPositionFromCharIndex(int)</a>
and the baseline where the red underline is to be painted.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_SpellChecker_ISpellCheckableRichEditor_GetCharIndexFromPosition_System_Drawing_Point_" data-uid="C1.Win.SpellChecker.ISpellCheckableRichEditor.GetCharIndexFromPosition(System.Drawing.Point)">
          <a class="xref" href="C1.Win.SpellChecker.ISpellCheckableRichEditor.GetCharIndexFromPosition.html#C1_Win_SpellChecker_ISpellCheckableRichEditor_GetCharIndexFromPosition_System_Drawing_Point_">GetCharIndexFromPosition(Point)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index of the character closest to the specified location.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_SpellChecker_ISpellCheckableRichEditor_GetPositionFromCharIndex_System_Int32_" data-uid="C1.Win.SpellChecker.ISpellCheckableRichEditor.GetPositionFromCharIndex(System.Int32)">
          <a class="xref" href="C1.Win.SpellChecker.ISpellCheckableRichEditor.GetPositionFromCharIndex.html#C1_Win_SpellChecker_ISpellCheckableRichEditor_GetPositionFromCharIndex_System_Int32_">GetPositionFromCharIndex(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the location within the control at the specified character index.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
