# C1.Util.DX.WIC.PlanarBitmapSourceTransform.CopyPixels

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_WIC_PlanarBitmapSourceTransform_CopyPixels_" data-uid="C1.Util.DX.WIC.PlanarBitmapSourceTransform.CopyPixels*">CopyPixels Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_WIC_PlanarBitmapSourceTransform_CopyPixels_" data-uid="C1.Util.DX.WIC.PlanarBitmapSourceTransform.CopyPixels*"></a>
<h4 id="C1_Util_DX_WIC_PlanarBitmapSourceTransform_CopyPixels_System_Nullable_C1_Util_DX_RectL__System_Int32_System_Int32_C1_Util_DX_WIC_BitmapTransformOptions_C1_Util_DX_WIC_PlanarOptions_C1_Util_DX_WIC_BitmapPlane___System_Int32_" data-uid="C1.Util.DX.WIC.PlanarBitmapSourceTransform.CopyPixels(System.Nullable{C1.Util.DX.RectL},System.Int32,System.Int32,C1.Util.DX.WIC.BitmapTransformOptions,C1.Util.DX.WIC.PlanarOptions,C1.Util.DX.WIC.BitmapPlane[],System.Int32)">CopyPixels(RectL?, int, int, BitmapTransformOptions, PlanarOptions, BitmapPlane[], int)</h4>
<div class="markdown level1 summary"><p>HRESULT IWICPlanarBitmapSourceTransform::CopyPixels([In, Optional] const WICRect* prcSource,[In] unsigned int uiWidth,[In] unsigned int uiHeight,[In] WICBitmapTransformOptions dstTransform,[In] WICPlanarOptions dstPlanarOptions,[In, Buffer] const WICBitmapPlane* pDstPlanes,[In] unsigned int cPlanes)</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void CopyPixels(RectL? rcSourceRef, int width, int height, BitmapTransformOptions dstTransform, PlanarOptions dstPlanarOptions, BitmapPlane[] dstPlanesRef, int planes)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub CopyPixels(rcSourceRef As RectL?, width As Integer, height As Integer, dstTransform As BitmapTransformOptions, dstPlanarOptions As PlanarOptions, dstPlanesRef As BitmapPlane(), planes As Integer)</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.Util.DX.RectL.html">RectL</a>?</td>
      <td><span class="parametername">rcSourceRef</span></td>
      <td></td>
    </tr>
    <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></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></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.WIC.BitmapTransformOptions.html">BitmapTransformOptions</a></td>
      <td><span class="parametername">dstTransform</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.WIC.PlanarOptions.html">PlanarOptions</a></td>
      <td><span class="parametername">dstPlanarOptions</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.WIC.BitmapPlane.html">BitmapPlane</a>[]</td>
      <td><span class="parametername">dstPlanesRef</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">planes</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
