# C1.Util.DX.WIC.BitmapScaler

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_DX_WIC_BitmapScaler" data-uid="C1.Util.DX.WIC.BitmapScaler" class="text-break">BitmapScaler Class
</h1>
  <div class="markdown level0 summary"><p>IWICBitmapScaler</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="C1.Util.DX.DisposeBase.html">DisposeBase</a></div>
    <div class="level2"><a class="xref" href="C1.Util.DX.CppObject.html">CppObject</a></div>
    <div class="level3"><a class="xref" href="C1.Util.DX.ComObject.html">ComObject</a></div>
    <div class="level4"><a class="xref" href="C1.Util.DX.WIC.BitmapSource.html">BitmapSource</a></div>
    <div class="level5"><span class="xref">BitmapScaler</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><a class="xref" href="C1.Util.DX.IUnknown.html">IUnknown</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Util.DX.WIC.html">C1.Util.DX.WIC</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.DX.4.8.dll</h6>
  <h5 id="C1_Util_DX_WIC_BitmapScaler_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[Guid(&quot;00000302-a8f2-4877-ba0a-fd2b6645fb94&quot;)]
public class BitmapScaler : BitmapSource, IDisposable, IUnknown</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;Guid(&quot;00000302-a8f2-4877-ba0a-fd2b6645fb94&quot;)&gt;
Public Class BitmapScaler
    Inherits BitmapSource
    Implements IDisposable, IUnknown</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_Util_DX_WIC_BitmapScaler__ctor_System_IntPtr_" data-uid="C1.Util.DX.WIC.BitmapScaler.#ctor(System.IntPtr)">
          <a class="xref" href="C1.Util.DX.WIC.BitmapScaler.-ctor.html#C1_Util_DX_WIC_BitmapScaler__ctor_System_IntPtr_">BitmapScaler(IntPtr)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.WIC.BitmapScaler.html">BitmapScaler</a> class.</p>
</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_Util_DX_WIC_BitmapScaler_Create_C1_Util_DX_WIC_ImagingFactory_" data-uid="C1.Util.DX.WIC.BitmapScaler.Create(C1.Util.DX.WIC.ImagingFactory)">
          <a class="xref" href="C1.Util.DX.WIC.BitmapScaler.Create.html#C1_Util_DX_WIC_BitmapScaler_Create_C1_Util_DX_WIC_ImagingFactory_">Create(ImagingFactory)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.WIC.BitmapScaler.html">BitmapScaler</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_WIC_BitmapScaler_Initialize_C1_Util_DX_WIC_BitmapSource_System_Int32_System_Int32_C1_Util_DX_WIC_BitmapInterpolationMode_" data-uid="C1.Util.DX.WIC.BitmapScaler.Initialize(C1.Util.DX.WIC.BitmapSource,System.Int32,System.Int32,C1.Util.DX.WIC.BitmapInterpolationMode)">
          <a class="xref" href="C1.Util.DX.WIC.BitmapScaler.Initialize.html#C1_Util_DX_WIC_BitmapScaler_Initialize_C1_Util_DX_WIC_BitmapSource_System_Int32_System_Int32_C1_Util_DX_WIC_BitmapInterpolationMode_">Initialize(BitmapSource, int, int, BitmapInterpolationMode)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IWICBitmapScaler::Initialize([In] IWICBitmapSource* pISource,[In] unsigned int uiWidth,[In] unsigned int uiHeight,[In] WICBitmapInterpolationMode mode)</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="operators">Operators
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_WIC_BitmapScaler_op_Explicit_System_IntPtr__C1_Util_DX_WIC_BitmapScaler" data-uid="C1.Util.DX.WIC.BitmapScaler.op_Explicit(System.IntPtr)~C1.Util.DX.WIC.BitmapScaler">
          <a class="xref" href="C1.Util.DX.WIC.BitmapScaler.op_Explicit.html#C1_Util_DX_WIC_BitmapScaler_op_Explicit_System_IntPtr__C1_Util_DX_WIC_BitmapScaler">explicit operator BitmapScaler(IntPtr)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs an explicit conversion from <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.intptr">IntPtr</a> to <a class="xref" href="C1.Util.DX.WIC.BitmapScaler.html">BitmapScaler</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
