# C1.Framework.Thickness.Inflate

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Framework_Thickness_Inflate_" data-uid="C1.Framework.Thickness.Inflate*">Inflate Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Framework_Thickness_Inflate_" data-uid="C1.Framework.Thickness.Inflate*"></a>
<h4 id="C1_Framework_Thickness_Inflate_System_Int32_System_Int32_" data-uid="C1.Framework.Thickness.Inflate(System.Int32,System.Int32)">Inflate(int, int)</h4>
<div class="markdown level1 summary"><p>Inflates the current <a class="xref" href="C1.Framework.Thickness.html">Thickness</a> by the specified values.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Thickness Inflate(int width, int height)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function Inflate(width As Integer, height As Integer) As Thickness</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.int32">int</a></td>
      <td><span class="parametername">width</span></td>
      <td><p>The inflate size for vertical edges.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">height</span></td>
      <td><p>The inflate size for horizontal edges.</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.Framework.Thickness.html">Thickness</a></td>
      <td><p>The new <a class="xref" href="C1.Framework.Thickness.html">Thickness</a>.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Framework_Thickness_Inflate_" data-uid="C1.Framework.Thickness.Inflate*"></a>
<h4 id="C1_Framework_Thickness_Inflate_System_Int32_" data-uid="C1.Framework.Thickness.Inflate(System.Int32)">Inflate(int)</h4>
<div class="markdown level1 summary"><p>Inflates the current <a class="xref" href="C1.Framework.Thickness.html">Thickness</a> by the specified size.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Thickness Inflate(int size)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function Inflate(size As Integer) As Thickness</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.int32">int</a></td>
      <td><span class="parametername">size</span></td>
      <td><p>The size.</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.Framework.Thickness.html">Thickness</a></td>
      <td><p>The new <a class="xref" href="C1.Framework.Thickness.html">Thickness</a>.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Framework_Thickness_Inflate_" data-uid="C1.Framework.Thickness.Inflate*"></a>
<h4 id="C1_Framework_Thickness_Inflate_System_Drawing_Rectangle_" data-uid="C1.Framework.Thickness.Inflate(System.Drawing.Rectangle)">Inflate(Rectangle)</h4>
<div class="markdown level1 summary"><p>Inflates the specified <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectangle">Rectangle</a> by the current <a class="xref" href="C1.Framework.Thickness.html">Thickness</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Rectangle Inflate(Rectangle r)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function Inflate(r As Rectangle) As Rectangle</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.drawing.rectangle">Rectangle</a></td>
      <td><span class="parametername">r</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectangle">Rectangle</a> to deflate.</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.drawing.rectangle">Rectangle</a></td>
      <td><p>The inflated <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectangle">Rectangle</a>.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
