# FarPoint.Win.Spread.CellType.RichTextBoxWrapper

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_CellType_RichTextBoxWrapper" data-uid="FarPoint.Win.Spread.CellType.RichTextBoxWrapper" class="text-break">RichTextBoxWrapper Class
</h1>
  <div class="markdown level0 summary"><p>Represents a wrapper object for the rich text box for additional rich text support.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.marshalbyrefobject">MarshalByRefObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.component">Component</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.control">Control</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.textboxbase">TextBoxBase</a></div>
    <div class="level5"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.richtextbox">RichTextBox</a></div>
    <div class="level6"><span class="xref">RichTextBoxWrapper</span></div>
      <div class="level7"><a class="xref" href="FarPoint.Win.Spread.CellType.RichTextEditor.html">RichTextEditor</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.idroptarget">IDropTarget</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isynchronizeinvoke">ISynchronizeInvoke</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.iwin32window">IWin32Window</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.ibindablecomponent">IBindableComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icomponent">IComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.Spread.CellType.html">FarPoint.Win.Spread.CellType</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.Spread.dll</h6>
  <h5 id="FarPoint_Win_Spread_CellType_RichTextBoxWrapper_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class RichTextBoxWrapper : RichTextBox, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class RichTextBoxWrapper
    Inherits RichTextBox
    Implements IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_RichTextBoxWrapper__ctor" data-uid="FarPoint.Win.Spread.CellType.RichTextBoxWrapper.#ctor">
          <a class="xref" href="FarPoint.Win.Spread.CellType.RichTextBoxWrapper.-ctor.html#FarPoint_Win_Spread_CellType_RichTextBoxWrapper__ctor">RichTextBoxWrapper()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a wrapper object for the rich text box.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_RichTextBoxWrapper_CreateParams" data-uid="FarPoint.Win.Spread.CellType.RichTextBoxWrapper.CreateParams">
          <a class="xref" href="FarPoint.Win.Spread.CellType.RichTextBoxWrapper.CreateParams.html#FarPoint_Win_Spread_CellType_RichTextBoxWrapper_CreateParams">CreateParams</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the required creation parameters when the control handle is created.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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="FarPoint_Win_Spread_CellType_RichTextBoxWrapper_Render_System_Drawing_Graphics_System_Drawing_Rectangle_" data-uid="FarPoint.Win.Spread.CellType.RichTextBoxWrapper.Render(System.Drawing.Graphics,System.Drawing.Rectangle)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.RichTextBoxWrapper.Render.html#FarPoint_Win_Spread_CellType_RichTextBoxWrapper_Render_System_Drawing_Graphics_System_Drawing_Rectangle_">Render(Graphics, Rectangle)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs painting of contents to graphics with the specified size.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_RichTextBoxWrapper_SetSelectionBold_System_Boolean_" data-uid="FarPoint.Win.Spread.CellType.RichTextBoxWrapper.SetSelectionBold(System.Boolean)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.RichTextBoxWrapper.SetSelectionBold.html#FarPoint_Win_Spread_CellType_RichTextBoxWrapper_SetSelectionBold_System_Boolean_">SetSelectionBold(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the bold style only for the selected part of the rich text box
without modifying the other properties like font or size.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_RichTextBoxWrapper_SetSelectionFont_System_String_" data-uid="FarPoint.Win.Spread.CellType.RichTextBoxWrapper.SetSelectionFont(System.String)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.RichTextBoxWrapper.SetSelectionFont.html#FarPoint_Win_Spread_CellType_RichTextBoxWrapper_SetSelectionFont_System_String_">SetSelectionFont(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the font only for the selected part of the rich text box
without modifying the other properties like size or style.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_RichTextBoxWrapper_SetSelectionItalic_System_Boolean_" data-uid="FarPoint.Win.Spread.CellType.RichTextBoxWrapper.SetSelectionItalic(System.Boolean)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.RichTextBoxWrapper.SetSelectionItalic.html#FarPoint_Win_Spread_CellType_RichTextBoxWrapper_SetSelectionItalic_System_Boolean_">SetSelectionItalic(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the italic style only for the selected part of the rich text box
without modifying the other properties like font or size.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_RichTextBoxWrapper_SetSelectionSize_System_Single_" data-uid="FarPoint.Win.Spread.CellType.RichTextBoxWrapper.SetSelectionSize(System.Single)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.RichTextBoxWrapper.SetSelectionSize.html#FarPoint_Win_Spread_CellType_RichTextBoxWrapper_SetSelectionSize_System_Single_">SetSelectionSize(float)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the font size only for the selected part of the rich text box
without modifying the other properties like font or style.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_RichTextBoxWrapper_SetSelectionUnderlined_System_Boolean_" data-uid="FarPoint.Win.Spread.CellType.RichTextBoxWrapper.SetSelectionUnderlined(System.Boolean)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.RichTextBoxWrapper.SetSelectionUnderlined.html#FarPoint_Win_Spread_CellType_RichTextBoxWrapper_SetSelectionUnderlined_System_Boolean_">SetSelectionUnderlined(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the underlined style only for the selected part of the rich text box
without modifying the other properties like font or size.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
