# C1.WPF.RichTextBox.C1LengthTool.SetValue

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_RichTextBox_C1LengthTool_SetValue_" data-uid="C1.WPF.RichTextBox.C1LengthTool.SetValue*">SetValue Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_RichTextBox_C1LengthTool_SetValue_" data-uid="C1.WPF.RichTextBox.C1LengthTool.SetValue*"></a>
<h4 id="C1_WPF_RichTextBox_C1LengthTool_SetValue_C1_WPF_RichTextBox_Documents_C1TextRange_C1_WPF_RichTextBox_Documents_C1Length_" data-uid="C1.WPF.RichTextBox.C1LengthTool.SetValue(C1.WPF.RichTextBox.Documents.C1TextRange,C1.WPF.RichTextBox.Documents.C1Length)">SetValue(C1TextRange, C1Length)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected abstract void SetValue(C1TextRange range, C1Length value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected MustOverride Sub SetValue(range As C1TextRange, value As C1Length)</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="../C1.WPF.RichTextBox.4.6.2/C1.WPF.RichTextBox.Documents.C1TextRange.html">C1TextRange</a></td>
      <td><span class="parametername">range</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="../C1.WPF.RichTextBox.4.6.2/C1.WPF.RichTextBox.Documents.C1Length.html">C1Length</a></td>
      <td><span class="parametername">value</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
