# C1.WPF.C1ZoomUnitTypeConverter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_C1ZoomUnitTypeConverter" data-uid="C1.WPF.C1ZoomUnitTypeConverter" class="text-break">C1ZoomUnitTypeConverter Class
</h1>
  <div class="markdown level0 summary"><p>Converts a string to a <a class="xref" href="C1.WPF.C1ZoomUnit.html">C1ZoomUnit</a> and vice versa.</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">C1ZoomUnitTypeConverter</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.html">C1.WPF</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.4.6.2.dll</h6>
  <h5 id="C1_WPF_C1ZoomUnitTypeConverter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1ZoomUnitTypeConverter : TypeConverter</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1ZoomUnitTypeConverter
    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_C1ZoomUnitTypeConverter__ctor" data-uid="C1.WPF.C1ZoomUnitTypeConverter.#ctor">
          <a class="xref" href="C1.WPF.C1ZoomUnitTypeConverter.-ctor.html#C1_WPF_C1ZoomUnitTypeConverter__ctor">C1ZoomUnitTypeConverter()</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_C1ZoomUnitTypeConverter_CanConvertFrom_System_ComponentModel_ITypeDescriptorContext_System_Type_" data-uid="C1.WPF.C1ZoomUnitTypeConverter.CanConvertFrom(System.ComponentModel.ITypeDescriptorContext,System.Type)">
          <a class="xref" href="C1.WPF.C1ZoomUnitTypeConverter.CanConvertFrom.html#C1_WPF_C1ZoomUnitTypeConverter_CanConvertFrom_System_ComponentModel_ITypeDescriptorContext_System_Type_">CanConvertFrom(ITypeDescriptorContext, Type)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns whether the type converter can convert an object from the specified type to the type of this converter.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1ZoomUnitTypeConverter_ConvertFrom_System_ComponentModel_ITypeDescriptorContext_System_Globalization_CultureInfo_System_Object_" data-uid="C1.WPF.C1ZoomUnitTypeConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext,System.Globalization.CultureInfo,System.Object)">
          <a class="xref" href="C1.WPF.C1ZoomUnitTypeConverter.ConvertFrom.html#C1_WPF_C1ZoomUnitTypeConverter_ConvertFrom_System_ComponentModel_ITypeDescriptorContext_System_Globalization_CultureInfo_System_Object_">ConvertFrom(ITypeDescriptorContext, CultureInfo, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Converts from the specified value to the intended conversion type of the converter.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
