# GrapeCity.Documents.Common.Unit.op_Implicit

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Common_Unit_op_Implicit_" data-uid="GrapeCity.Documents.Common.Unit.op_Implicit*">implicit operator Operator
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Common_Unit_op_Implicit_" data-uid="GrapeCity.Documents.Common.Unit.op_Implicit*"></a>
<h4 id="GrapeCity_Documents_Common_Unit_op_Implicit_GrapeCity_Documents_Common_Unit__System_String" data-uid="GrapeCity.Documents.Common.Unit.op_Implicit(GrapeCity.Documents.Common.Unit)~System.String">implicit operator string(Unit)</h4>
<div class="markdown level1 summary"><p>Converts a unit value to a string.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static implicit operator string(Unit value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Widening Operator CType(value As Unit) As String</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="GrapeCity.Documents.Common.Unit.html">Unit</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>The unit to convert.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><p>The string representing the unit value.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Common_Unit_op_Implicit_" data-uid="GrapeCity.Documents.Common.Unit.op_Implicit*"></a>
<h4 id="GrapeCity_Documents_Common_Unit_op_Implicit_System_String__GrapeCity_Documents_Common_Unit" data-uid="GrapeCity.Documents.Common.Unit.op_Implicit(System.String)~GrapeCity.Documents.Common.Unit">implicit operator Unit(string)</h4>
<div class="markdown level1 summary"><p>Converts a string to a <a class="xref" href="GrapeCity.Documents.Common.Unit.html">Unit</a> value (see <a class="xref" href="GrapeCity.Documents.Common.Unit.-ctor.html#GrapeCity_Documents_Common_Unit__ctor_System_String_">Unit(string)</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static implicit operator Unit(string value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Widening Operator CType(value As String) As Unit</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="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>The string to convert.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Common.Unit.html">Unit</a></td>
      <td><p>The unit value.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
