# C1.WPF.RichTextBox.Documents.C1Length.Min

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_RichTextBox_Documents_C1Length_Min_" data-uid="C1.WPF.RichTextBox.Documents.C1Length.Min*">Min Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_RichTextBox_Documents_C1Length_Min_" data-uid="C1.WPF.RichTextBox.Documents.C1Length.Min*"></a>
<h4 id="C1_WPF_RichTextBox_Documents_C1Length_Min_C1_WPF_RichTextBox_Documents_C1Length_C1_WPF_RichTextBox_Documents_C1Length_" data-uid="C1.WPF.RichTextBox.Documents.C1Length.Min(C1.WPF.RichTextBox.Documents.C1Length,C1.WPF.RichTextBox.Documents.C1Length)">Min(C1Length, C1Length)</h4>
<div class="markdown level1 summary"><p>Returns the smaller of two C1Length instances.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static C1Length Min(C1Length len1, C1Length len2)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Min(len1 As C1Length, len2 As C1Length) 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.Documents.C1Length.html">C1Length</a></td>
      <td><span class="parametername">len1</span></td>
      <td><p>The first of two C1Length instances to compare.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.WPF.RichTextBox.Documents.C1Length.html">C1Length</a></td>
      <td><span class="parametername">len2</span></td>
      <td><p>The second of two C1Length instances to compare.</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="C1.WPF.RichTextBox.Documents.C1Length.html">C1Length</a></td>
      <td><p>Parameter len1 or len2, whichever is smaller.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
