# GrapeCity.ActiveReports.SectionReportModel.RichTextBox

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_ActiveReports_SectionReportModel_RichTextBox" data-uid="GrapeCity.ActiveReports.SectionReportModel.RichTextBox" class="text-break">RichTextBox Class
</h1>
  <div class="markdown level0 summary"><p>RichTextBox control.</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="GrapeCity.ActiveReports.SectionReportModel.ARControl.html">ARControl</a></div>
    <div class="level2"><span class="xref">RichTextBox</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <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><a class="xref" href="GrapeCity.ActiveReports.Controls.Design.IPersistControl.html">IPersistControl</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.html">GrapeCity.ActiveReports.SectionReportModel</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.dll</h6>
  <h5 id="GrapeCity_ActiveReports_SectionReportModel_RichTextBox_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[DefaultSize(3, 1.5)]
public sealed class RichTextBox : ARControl, IComponent, IDisposable, IPersistControl</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="GrapeCity_ActiveReports_SectionReportModel_RichTextBox__ctor" data-uid="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.-ctor.html#GrapeCity_ActiveReports_SectionReportModel_RichTextBox__ctor">RichTextBox()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.html">RichTextBox</a> class.</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="GrapeCity_ActiveReports_SectionReportModel_RichTextBox_AutoReplaceFields" data-uid="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.AutoReplaceFields">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.AutoReplaceFields.html#GrapeCity_ActiveReports_SectionReportModel_RichTextBox_AutoReplaceFields">AutoReplaceFields</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that indicates whether ActiveReports should automatically replace fields in the RichTextBox with matching fields in the data source.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_RichTextBox_BackColor" data-uid="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.BackColor">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.BackColor.html#GrapeCity_ActiveReports_SectionReportModel_RichTextBox_BackColor">BackColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the control's background color or fill color.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_RichTextBox_BulletIndent" data-uid="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.BulletIndent">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.BulletIndent.html#GrapeCity_ActiveReports_SectionReportModel_RichTextBox_BulletIndent">BulletIndent</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the indentation used in the control when the bullet style is applied to the text. For design time use only.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_RichTextBox_CanGrow" data-uid="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.CanGrow">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.CanGrow.html#GrapeCity_ActiveReports_SectionReportModel_RichTextBox_CanGrow">CanGrow</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether ActiveReports should increase the height of the control based on its content.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_RichTextBox_CanShrink" data-uid="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.CanShrink">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.CanShrink.html#GrapeCity_ActiveReports_SectionReportModel_RichTextBox_CanShrink">CanShrink</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether ActiveReports should decrease the height of the field based on its value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_RichTextBox_ControlType" data-uid="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.ControlType">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.ControlType.html#GrapeCity_ActiveReports_SectionReportModel_RichTextBox_ControlType">ControlType</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_RichTextBox_ForeColor" data-uid="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.ForeColor">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.ForeColor.html#GrapeCity_ActiveReports_SectionReportModel_RichTextBox_ForeColor">ForeColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the foreground selection color of the control. For design time use only.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_RichTextBox_Html" data-uid="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.Html">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.Html.html#GrapeCity_ActiveReports_SectionReportModel_RichTextBox_Html">Html</a>
        </td>
        <td class="markdown level1 summary"><p>Sets or returns the hypertext to be rendered in the control.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_RichTextBox_HtmlItem" data-uid="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.HtmlItem">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.HtmlItem.html#GrapeCity_ActiveReports_SectionReportModel_RichTextBox_HtmlItem">HtmlItem</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_RichTextBox_MaxLength" data-uid="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.MaxLength">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.MaxLength.html#GrapeCity_ActiveReports_SectionReportModel_RichTextBox_MaxLength">MaxLength</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the maximum number of characters in the control. For design time use only.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_RichTextBox_RTF" data-uid="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.RTF">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.RTF.html#GrapeCity_ActiveReports_SectionReportModel_RichTextBox_RTF">RTF</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the rich text content of the control.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_RichTextBox_RenderRtfAsContinuousImage" data-uid="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.RenderRtfAsContinuousImage">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.RenderRtfAsContinuousImage.html#GrapeCity_ActiveReports_SectionReportModel_RichTextBox_RenderRtfAsContinuousImage">RenderRtfAsContinuousImage</a>
        </td>
        <td class="markdown level1 summary"><p>If set to true, then the content will be rendered as one continuous image and then split across the pages.
This property is actual only if <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.RtfRenderingType.html#GrapeCity_ActiveReports_SectionReportModel_RichTextBox_RtfRenderingType">RtfRenderingType</a> is set to either Metafile or PNG.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_RichTextBox_RtfRenderingType" data-uid="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.RtfRenderingType">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.RtfRenderingType.html#GrapeCity_ActiveReports_SectionReportModel_RichTextBox_RtfRenderingType">RtfRenderingType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets target rendering type of RTF (not HTML). As legacy RTF or as WordPad-like image (metafile or raster image).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_RichTextBox_Text" data-uid="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.Text">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.Text.html#GrapeCity_ActiveReports_SectionReportModel_RichTextBox_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the current text in the RichTextBox.</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="GrapeCity_ActiveReports_SectionReportModel_RichTextBox_Clear" data-uid="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.Clear">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.Clear.html#GrapeCity_ActiveReports_SectionReportModel_RichTextBox_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Clears the content of the RichTextBox control.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_RichTextBox_Dispose_System_Boolean_" data-uid="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.Dispose(System.Boolean)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.Dispose.html#GrapeCity_ActiveReports_SectionReportModel_RichTextBox_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Releases unmanaged and - optionally - managed resources.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_RichTextBox_GetControlBounds_System_Drawing_PointF_System_Single_System_Single_" data-uid="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.GetControlBounds(System.Drawing.PointF,System.Single,System.Single)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.GetControlBounds.html#GrapeCity_ActiveReports_SectionReportModel_RichTextBox_GetControlBounds_System_Drawing_PointF_System_Single_System_Single_">GetControlBounds(PointF, float, float)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_RichTextBox_Load_System_IO_Stream_GrapeCity_ActiveReports_SectionReportModel_RichTextType_" data-uid="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.Load(System.IO.Stream,GrapeCity.ActiveReports.SectionReportModel.RichTextType)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.Load.html#GrapeCity_ActiveReports_SectionReportModel_RichTextBox_Load_System_IO_Stream_GrapeCity_ActiveReports_SectionReportModel_RichTextType_">Load(Stream, RichTextType)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads a stream of Rtf, Text or Html file.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_RichTextBox_QuickLoad_System_IO_BinaryReader_" data-uid="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.QuickLoad(System.IO.BinaryReader)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.QuickLoad.html#GrapeCity_ActiveReports_SectionReportModel_RichTextBox_QuickLoad_System_IO_BinaryReader_">QuickLoad(BinaryReader)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads the control from specified binary reader.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_RichTextBox_QuickSave_System_IO_BinaryWriter_" data-uid="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.QuickSave(System.IO.BinaryWriter)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.QuickSave.html#GrapeCity_ActiveReports_SectionReportModel_RichTextBox_QuickSave_System_IO_BinaryWriter_">QuickSave(BinaryWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the control to the specified binary writer.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_RichTextBox_ReadXml_System_Xml_XmlNode_" data-uid="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.ReadXml(System.Xml.XmlNode)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.ReadXml.html#GrapeCity_ActiveReports_SectionReportModel_RichTextBox_ReadXml_System_Xml_XmlNode_">ReadXml(XmlNode)</a>
        </td>
        <td class="markdown level1 summary"><p>Reads the control from specified XML node.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_RichTextBox_WriteXml_System_Xml_XmlElement_" data-uid="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.WriteXml(System.Xml.XmlElement)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.RichTextBox.WriteXml.html#GrapeCity_ActiveReports_SectionReportModel_RichTextBox_WriteXml_System_Xml_XmlElement_">WriteXml(XmlElement)</a>
        </td>
        <td class="markdown level1 summary"><p>Writes the control as XML to specified XML node.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.ReportsCore.Tools.ObjectExtensions.ApplyDefaults.html#GrapeCity_ActiveReports_ReportsCore_Tools_ObjectExtensions_ApplyDefaults__1___0_">ObjectExtensions.ApplyDefaults&lt;TObject&gt;(TObject)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.ReportsCore.Tools.ObjectExtensions.SetValue.html#GrapeCity_ActiveReports_ReportsCore_Tools_ObjectExtensions_SetValue__1___0_System_ComponentModel_PropertyDescriptor_System_String_">ObjectExtensions.SetValue&lt;TObject&gt;(TObject, PropertyDescriptor, string)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.ReportsCore.Tools.ObjectExtensions.ToNameValueCollection.html#GrapeCity_ActiveReports_ReportsCore_Tools_ObjectExtensions_ToNameValueCollection_System_Object_">ObjectExtensions.ToNameValueCollection(object)</a>
  </div>

</div>
