# C1.WPF.RichTextBox.Documents.C1TextRange.Html

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_RichTextBox_Documents_C1TextRange_Html_" data-uid="C1.WPF.RichTextBox.Documents.C1TextRange.Html*">Html Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_RichTextBox_Documents_C1TextRange_Html_" data-uid="C1.WPF.RichTextBox.Documents.C1TextRange.Html*"></a>
<h4 id="C1_WPF_RichTextBox_Documents_C1TextRange_Html" data-uid="C1.WPF.RichTextBox.Documents.C1TextRange.Html">Html</h4>
<div class="markdown level1 summary"><p>Gets or sets the Html in the range.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public string Html { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property Html As String</code></pre>
</div>
<h5 id="C1_WPF_RichTextBox_Documents_C1TextRange_Html_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>When getting the Html, the result is the same as deleting the rest of the document except the range, and returning the Html of that document.
When setting the Html, the contents of the value set are merged with the current document.</p>
</div>
</div>
