# C1.WinUI.Core.WriteableBitmapEx

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WinUI_Core_WriteableBitmapEx" data-uid="C1.WinUI.Core.WriteableBitmapEx" class="text-break">WriteableBitmapEx Class
</h1>
  <div class="markdown level0 summary"><p>The extension of <span class="xref">Microsoft.UI.Xaml.Media.Imaging.WriteableBitmap</span>.</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"><span class="xref">WriteableBitmapEx</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WinUI.Core.html">C1.WinUI.Core</a></h6>
  <h6><strong>Assembly</strong>: C1.WinUI.Core.dll</h6>
  <h5 id="C1_WinUI_Core_WriteableBitmapEx_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static class WriteableBitmapEx</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Module WriteableBitmapEx</code></pre>
  </div>
  <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_WinUI_Core_WriteableBitmapEx_ToArray_Microsoft_UI_Xaml_Media_Imaging_WriteableBitmap_" data-uid="C1.WinUI.Core.WriteableBitmapEx.ToArray(Microsoft.UI.Xaml.Media.Imaging.WriteableBitmap)">
          <a class="xref" href="C1.WinUI.Core.WriteableBitmapEx.ToArray.html#C1_WinUI_Core_WriteableBitmapEx_ToArray_Microsoft_UI_Xaml_Media_Imaging_WriteableBitmap_">ToArray(WriteableBitmap)</a>
        </td>
        <td class="markdown level1 summary"><p>Set <span class="xref">Microsoft.UI.Xaml.Media.Imaging.WriteableBitmap</span> pixel data into an array of pixels.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
