# C1.Framework.Style.Inflate

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Framework_Style_Inflate_" data-uid="C1.Framework.Style.Inflate*">Inflate Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Framework_Style_Inflate_" data-uid="C1.Framework.Style.Inflate*"></a>
<h4 id="C1_Framework_Style_Inflate_System_Drawing_Rectangle_" data-uid="C1.Framework.Style.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 values of
the current <a class="xref" href="C1.Framework.Style.html">Style</a> margins, padding and border.</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 inflate.</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 resulting <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectangle">Rectangle</a>.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Framework_Style_Inflate_" data-uid="C1.Framework.Style.Inflate*"></a>
<h4 id="C1_Framework_Style_Inflate_System_Drawing_Size_" data-uid="C1.Framework.Style.Inflate(System.Drawing.Size)">Inflate(Size)</h4>
<div class="markdown level1 summary"><p>Inflates the specified <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.size">Size</a> by the values of
the current <a class="xref" href="C1.Framework.Style.html">Style</a> margins, padding and border.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Size Inflate(Size size)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function Inflate(size As Size) As Size</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.size">Size</a></td>
      <td><span class="parametername">size</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.size">Size</a> to inflate.</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.size">Size</a></td>
      <td><p>The resulting <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.size">Size</a>.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Framework_Style_Inflate_" data-uid="C1.Framework.Style.Inflate*"></a>
<h4 id="C1_Framework_Style_Inflate_System_Int32_System_Int32_" data-uid="C1.Framework.Style.Inflate(System.Int32,System.Int32)">Inflate(int, int)</h4>
<div class="markdown level1 summary"><p>Inflates the specified width and height by the values of
the current <a class="xref" href="C1.Framework.Style.html">Style</a> margins, padding and border.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Size 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 Size</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>A width to inflate.</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>A height to inflate.</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.size">Size</a></td>
      <td><p>The resulting <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.size">Size</a>.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
