# C1.WPF.RichTextBox.Documents.C1LengthConverter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_RichTextBox_Documents_C1LengthConverter" data-uid="C1.WPF.RichTextBox.Documents.C1LengthConverter" class="text-break">C1LengthConverter Class
</h1>
  <div class="markdown level0 summary"><p><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.typeconverter">TypeConverter</a> for <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Length.html">C1Length</a>.</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.componentmodel.typeconverter">TypeConverter</a></div>
    <div class="level2"><span class="xref">C1LengthConverter</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.RichTextBox.Documents.html">C1.WPF.RichTextBox.Documents</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.RichTextBox.dll</h6>
  <h5 id="C1_WPF_RichTextBox_Documents_C1LengthConverter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1LengthConverter : TypeConverter</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1LengthConverter
    Inherits TypeConverter</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="C1_WPF_RichTextBox_Documents_C1LengthConverter__ctor" data-uid="C1.WPF.RichTextBox.Documents.C1LengthConverter.#ctor">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1LengthConverter.-ctor.html#C1_WPF_RichTextBox_Documents_C1LengthConverter__ctor">C1LengthConverter()</a>
        </td>
        <td class="markdown level1 summary"></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="C1_WPF_RichTextBox_Documents_C1LengthConverter_CanConvertFrom_System_ComponentModel_ITypeDescriptorContext_System_Type_" data-uid="C1.WPF.RichTextBox.Documents.C1LengthConverter.CanConvertFrom(System.ComponentModel.ITypeDescriptorContext,System.Type)">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1LengthConverter.CanConvertFrom.html#C1_WPF_RichTextBox_Documents_C1LengthConverter_CanConvertFrom_System_ComponentModel_ITypeDescriptorContext_System_Type_">CanConvertFrom(ITypeDescriptorContext, Type)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_Documents_C1LengthConverter_CanConvertTo_System_ComponentModel_ITypeDescriptorContext_System_Type_" data-uid="C1.WPF.RichTextBox.Documents.C1LengthConverter.CanConvertTo(System.ComponentModel.ITypeDescriptorContext,System.Type)">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1LengthConverter.CanConvertTo.html#C1_WPF_RichTextBox_Documents_C1LengthConverter_CanConvertTo_System_ComponentModel_ITypeDescriptorContext_System_Type_">CanConvertTo(ITypeDescriptorContext, Type)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_Documents_C1LengthConverter_ConvertFrom_System_ComponentModel_ITypeDescriptorContext_System_Globalization_CultureInfo_System_Object_" data-uid="C1.WPF.RichTextBox.Documents.C1LengthConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext,System.Globalization.CultureInfo,System.Object)">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1LengthConverter.ConvertFrom.html#C1_WPF_RichTextBox_Documents_C1LengthConverter_ConvertFrom_System_ComponentModel_ITypeDescriptorContext_System_Globalization_CultureInfo_System_Object_">ConvertFrom(ITypeDescriptorContext, CultureInfo, object)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_Documents_C1LengthConverter_ConvertTo_System_ComponentModel_ITypeDescriptorContext_System_Globalization_CultureInfo_System_Object_System_Type_" data-uid="C1.WPF.RichTextBox.Documents.C1LengthConverter.ConvertTo(System.ComponentModel.ITypeDescriptorContext,System.Globalization.CultureInfo,System.Object,System.Type)">
          <a class="xref" href="C1.WPF.RichTextBox.Documents.C1LengthConverter.ConvertTo.html#C1_WPF_RichTextBox_Documents_C1LengthConverter_ConvertTo_System_ComponentModel_ITypeDescriptorContext_System_Globalization_CultureInfo_System_Object_System_Type_">ConvertTo(ITypeDescriptorContext, CultureInfo, object, Type)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
