# C1.Util.DX.WIC.DdsFrameDecode

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_DX_WIC_DdsFrameDecode" data-uid="C1.Util.DX.WIC.DdsFrameDecode" class="text-break">DdsFrameDecode Class
</h1>
  <div class="markdown level0 summary"><p>IWICDdsFrameDecode</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"><span class="xref">DdsFrameDecode</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.WPF.DX.4.6.2.dll</h6>
  <h5 id="C1_Util_DX_WIC_DdsFrameDecode_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[Guid(&quot;3d4c0c61-18a4-41e4-bd80-481a4fc9f464&quot;)]
public class DdsFrameDecode : ComObject, IDisposable, IUnknown</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;Guid(&quot;3d4c0c61-18a4-41e4-bd80-481a4fc9f464&quot;)&gt;
Public Class DdsFrameDecode
    Inherits ComObject
    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_DdsFrameDecode__ctor_System_IntPtr_" data-uid="C1.Util.DX.WIC.DdsFrameDecode.#ctor(System.IntPtr)">
          <a class="xref" href="C1.Util.DX.WIC.DdsFrameDecode.-ctor.html#C1_Util_DX_WIC_DdsFrameDecode__ctor_System_IntPtr_">DdsFrameDecode(IntPtr)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.WIC.DdsFrameDecode.html">DdsFrameDecode</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</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_DdsFrameDecode_FormatInfo" data-uid="C1.Util.DX.WIC.DdsFrameDecode.FormatInfo">
          <a class="xref" href="C1.Util.DX.WIC.DdsFrameDecode.FormatInfo.html#C1_Util_DX_WIC_DdsFrameDecode_FormatInfo">FormatInfo</a>
        </td>
        <td class="markdown level1 summary"><p>GetFormatInfo</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_WIC_DdsFrameDecode_SizeInBlocks" data-uid="C1.Util.DX.WIC.DdsFrameDecode.SizeInBlocks">
          <a class="xref" href="C1.Util.DX.WIC.DdsFrameDecode.SizeInBlocks.html#C1_Util_DX_WIC_DdsFrameDecode_SizeInBlocks">SizeInBlocks</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the width and height, in blocks, of the DDS image.</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_DdsFrameDecode_CopyBlocks_System_Nullable_C1_Util_DX_RectL__System_Int32_C1_Util_DX_DataStream_" data-uid="C1.Util.DX.WIC.DdsFrameDecode.CopyBlocks(System.Nullable{C1.Util.DX.RectL},System.Int32,C1.Util.DX.DataStream)">
          <a class="xref" href="C1.Util.DX.WIC.DdsFrameDecode.CopyBlocks.html#C1_Util_DX_WIC_DdsFrameDecode_CopyBlocks_System_Nullable_C1_Util_DX_RectL__System_Int32_C1_Util_DX_DataStream_">CopyBlocks(RectL?, int, DataStream)</a>
        </td>
        <td class="markdown level1 summary"><p>Requests pixel data as it is natively stored within the DDS file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_WIC_DdsFrameDecode_CopyBlocks_System_Nullable_C1_Util_DX_RectL__System_Int32_System_Int32_System_IntPtr_" data-uid="C1.Util.DX.WIC.DdsFrameDecode.CopyBlocks(System.Nullable{C1.Util.DX.RectL},System.Int32,System.Int32,System.IntPtr)">
          <a class="xref" href="C1.Util.DX.WIC.DdsFrameDecode.CopyBlocks.html#C1_Util_DX_WIC_DdsFrameDecode_CopyBlocks_System_Nullable_C1_Util_DX_RectL__System_Int32_System_Int32_System_IntPtr_">CopyBlocks(RectL?, int, int, IntPtr)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IWICDdsFrameDecode::CopyBlocks([In, Optional] const WICRect* prcBoundsInBlocks,[In] unsigned int cbStride,[In] unsigned int cbBufferSize,[In] void* pbBuffer)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_WIC_DdsFrameDecode_GetFormatInfo_C1_Util_DX_WIC_DdsFormatInfo__" data-uid="C1.Util.DX.WIC.DdsFrameDecode.GetFormatInfo(C1.Util.DX.WIC.DdsFormatInfo@)">
          <a class="xref" href="C1.Util.DX.WIC.DdsFrameDecode.GetFormatInfo.html#C1_Util_DX_WIC_DdsFrameDecode_GetFormatInfo_C1_Util_DX_WIC_DdsFormatInfo__">GetFormatInfo(out DdsFormatInfo)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IWICDdsFrameDecode::GetFormatInfo([Out] WICDdsFormatInfo* pFormatInfo)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_WIC_DdsFrameDecode_GetSizeInBlocks_System_Int32__System_Int32__" data-uid="C1.Util.DX.WIC.DdsFrameDecode.GetSizeInBlocks(System.Int32@,System.Int32@)">
          <a class="xref" href="C1.Util.DX.WIC.DdsFrameDecode.GetSizeInBlocks.html#C1_Util_DX_WIC_DdsFrameDecode_GetSizeInBlocks_System_Int32__System_Int32__">GetSizeInBlocks(out int, out int)</a>
        </td>
        <td class="markdown level1 summary"><p>HRESULT IWICDdsFrameDecode::GetSizeInBlocks([Out] unsigned int* pWidthInBlocks,[Out] unsigned int* pHeightInBlocks)</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_DdsFrameDecode_op_Explicit_System_IntPtr__C1_Util_DX_WIC_DdsFrameDecode" data-uid="C1.Util.DX.WIC.DdsFrameDecode.op_Explicit(System.IntPtr)~C1.Util.DX.WIC.DdsFrameDecode">
          <a class="xref" href="C1.Util.DX.WIC.DdsFrameDecode.op_Explicit.html#C1_Util_DX_WIC_DdsFrameDecode_op_Explicit_System_IntPtr__C1_Util_DX_WIC_DdsFrameDecode">explicit operator DdsFrameDecode(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.DdsFrameDecode.html">DdsFrameDecode</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
