# C1.Util.DX.WIC.BitmapDecoder.Create

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_WIC_BitmapDecoder_Create_" data-uid="C1.Util.DX.WIC.BitmapDecoder.Create*">Create Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_WIC_BitmapDecoder_Create_" data-uid="C1.Util.DX.WIC.BitmapDecoder.Create*"></a>
<h4 id="C1_Util_DX_WIC_BitmapDecoder_Create_C1_Util_DX_WIC_BitmapDecoderInfo_" data-uid="C1.Util.DX.WIC.BitmapDecoder.Create(C1.Util.DX.WIC.BitmapDecoderInfo)">Create(BitmapDecoderInfo)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.WIC.BitmapDecoder.html">BitmapDecoder</a> class from a <a class="xref" href="C1.Util.DX.WIC.BitmapDecoderInfo.html">BitmapDecoderInfo</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static BitmapDecoder Create(BitmapDecoderInfo bitmapDecoderInfo)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Create(bitmapDecoderInfo As BitmapDecoderInfo) As BitmapDecoder</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.WIC.BitmapDecoderInfo.html">BitmapDecoderInfo</a></td>
      <td><span class="parametername">bitmapDecoderInfo</span></td>
      <td><p>The bitmap decoder info.</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="C1.Util.DX.WIC.BitmapDecoder.html">BitmapDecoder</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_WIC_BitmapDecoder_Create_" data-uid="C1.Util.DX.WIC.BitmapDecoder.Create*"></a>
<h4 id="C1_Util_DX_WIC_BitmapDecoder_Create_C1_Util_DX_WIC_ImagingFactory_System_Guid_" data-uid="C1.Util.DX.WIC.BitmapDecoder.Create(C1.Util.DX.WIC.ImagingFactory,System.Guid)">Create(ImagingFactory, Guid)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.WIC.BitmapDecoder.html">BitmapDecoder</a> class from a guid. <a class="xref" href="C1.Util.DX.WIC.BitmapDecoderGuids.html">BitmapDecoderGuids</a> for a list of default supported decoder.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static BitmapDecoder Create(ImagingFactory factory, Guid containerFormatGuid)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Create(factory As ImagingFactory, containerFormatGuid As Guid) As BitmapDecoder</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.WIC.ImagingFactory.html">ImagingFactory</a></td>
      <td><span class="parametername">factory</span></td>
      <td><p>The factory.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.guid">Guid</a></td>
      <td><span class="parametername">containerFormatGuid</span></td>
      <td><p>The container format GUID.</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="C1.Util.DX.WIC.BitmapDecoder.html">BitmapDecoder</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_WIC_BitmapDecoder_Create_" data-uid="C1.Util.DX.WIC.BitmapDecoder.Create*"></a>
<h4 id="C1_Util_DX_WIC_BitmapDecoder_Create_C1_Util_DX_WIC_ImagingFactory_System_Guid_System_Guid_" data-uid="C1.Util.DX.WIC.BitmapDecoder.Create(C1.Util.DX.WIC.ImagingFactory,System.Guid,System.Guid)">Create(ImagingFactory, Guid, Guid)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.WIC.BitmapDecoder.html">BitmapDecoder</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static BitmapDecoder Create(ImagingFactory factory, Guid containerFormatGuid, Guid guidVendorRef)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Create(factory As ImagingFactory, containerFormatGuid As Guid, guidVendorRef As Guid) As BitmapDecoder</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.WIC.ImagingFactory.html">ImagingFactory</a></td>
      <td><span class="parametername">factory</span></td>
      <td><p>The factory.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.guid">Guid</a></td>
      <td><span class="parametername">containerFormatGuid</span></td>
      <td><p>The container format GUID.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.guid">Guid</a></td>
      <td><span class="parametername">guidVendorRef</span></td>
      <td><p>The GUID vendor ref.</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="C1.Util.DX.WIC.BitmapDecoder.html">BitmapDecoder</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_WIC_BitmapDecoder_Create_" data-uid="C1.Util.DX.WIC.BitmapDecoder.Create*"></a>
<h4 id="C1_Util_DX_WIC_BitmapDecoder_Create_C1_Util_DX_WIC_ImagingFactory_C1_Util_DX_Storage_IStream_C1_Util_DX_WIC_DecodeOptions_" data-uid="C1.Util.DX.WIC.BitmapDecoder.Create(C1.Util.DX.WIC.ImagingFactory,C1.Util.DX.Storage.IStream,C1.Util.DX.WIC.DecodeOptions)">Create(ImagingFactory, IStream, DecodeOptions)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.WIC.BitmapDecoder.html">BitmapDecoder</a> class from a <a class="xref" href="C1.Util.DX.Storage.IStream.html">IStream</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static BitmapDecoder Create(ImagingFactory factory, IStream streamRef, DecodeOptions metadataOptions)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Create(factory As ImagingFactory, streamRef As IStream, metadataOptions As DecodeOptions) As BitmapDecoder</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.WIC.ImagingFactory.html">ImagingFactory</a></td>
      <td><span class="parametername">factory</span></td>
      <td><p>The factory.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Storage.IStream.html">IStream</a></td>
      <td><span class="parametername">streamRef</span></td>
      <td><p>The stream ref.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.WIC.DecodeOptions.html">DecodeOptions</a></td>
      <td><span class="parametername">metadataOptions</span></td>
      <td><p>The metadata options.</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="C1.Util.DX.WIC.BitmapDecoder.html">BitmapDecoder</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_WIC_BitmapDecoder_Create_" data-uid="C1.Util.DX.WIC.BitmapDecoder.Create*"></a>
<h4 id="C1_Util_DX_WIC_BitmapDecoder_Create_C1_Util_DX_WIC_ImagingFactory_System_IO_Stream_C1_Util_DX_WIC_DecodeOptions_" data-uid="C1.Util.DX.WIC.BitmapDecoder.Create(C1.Util.DX.WIC.ImagingFactory,System.IO.Stream,C1.Util.DX.WIC.DecodeOptions)">Create(ImagingFactory, Stream, DecodeOptions)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.WIC.BitmapDecoder.html">BitmapDecoder</a> class from a <a class="xref" href="C1.Util.DX.Storage.IStream.html">IStream</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static BitmapDecoder Create(ImagingFactory factory, Stream streamRef, DecodeOptions metadataOptions)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Create(factory As ImagingFactory, streamRef As Stream, metadataOptions As DecodeOptions) As BitmapDecoder</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.WIC.ImagingFactory.html">ImagingFactory</a></td>
      <td><span class="parametername">factory</span></td>
      <td><p>The factory.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></td>
      <td><span class="parametername">streamRef</span></td>
      <td><p>The stream ref.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.WIC.DecodeOptions.html">DecodeOptions</a></td>
      <td><span class="parametername">metadataOptions</span></td>
      <td><p>The metadata options.</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="C1.Util.DX.WIC.BitmapDecoder.html">BitmapDecoder</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_WIC_BitmapDecoder_Create_" data-uid="C1.Util.DX.WIC.BitmapDecoder.Create*"></a>
<h4 id="C1_Util_DX_WIC_BitmapDecoder_Create_C1_Util_DX_WIC_ImagingFactory_C1_Util_DX_Storage_IStream_System_Guid_C1_Util_DX_WIC_DecodeOptions_" data-uid="C1.Util.DX.WIC.BitmapDecoder.Create(C1.Util.DX.WIC.ImagingFactory,C1.Util.DX.Storage.IStream,System.Guid,C1.Util.DX.WIC.DecodeOptions)">Create(ImagingFactory, IStream, Guid, DecodeOptions)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.WIC.BitmapDecoder.html">BitmapDecoder</a> class from a <a class="xref" href="C1.Util.DX.Storage.IStream.html">IStream</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static BitmapDecoder Create(ImagingFactory factory, IStream streamRef, Guid guidVendorRef, DecodeOptions metadataOptions)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Create(factory As ImagingFactory, streamRef As IStream, guidVendorRef As Guid, metadataOptions As DecodeOptions) As BitmapDecoder</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.WIC.ImagingFactory.html">ImagingFactory</a></td>
      <td><span class="parametername">factory</span></td>
      <td><p>The factory.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Storage.IStream.html">IStream</a></td>
      <td><span class="parametername">streamRef</span></td>
      <td><p>The stream ref.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.guid">Guid</a></td>
      <td><span class="parametername">guidVendorRef</span></td>
      <td><p>The GUID vendor ref.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.WIC.DecodeOptions.html">DecodeOptions</a></td>
      <td><span class="parametername">metadataOptions</span></td>
      <td><p>The metadata options.</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="C1.Util.DX.WIC.BitmapDecoder.html">BitmapDecoder</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_WIC_BitmapDecoder_Create_" data-uid="C1.Util.DX.WIC.BitmapDecoder.Create*"></a>
<h4 id="C1_Util_DX_WIC_BitmapDecoder_Create_C1_Util_DX_WIC_ImagingFactory_System_IO_Stream_System_Guid_C1_Util_DX_WIC_DecodeOptions_" data-uid="C1.Util.DX.WIC.BitmapDecoder.Create(C1.Util.DX.WIC.ImagingFactory,System.IO.Stream,System.Guid,C1.Util.DX.WIC.DecodeOptions)">Create(ImagingFactory, Stream, Guid, DecodeOptions)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.WIC.BitmapDecoder.html">BitmapDecoder</a> class from a <a class="xref" href="C1.Util.DX.Storage.IStream.html">IStream</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static BitmapDecoder Create(ImagingFactory factory, Stream streamRef, Guid guidVendorRef, DecodeOptions metadataOptions)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Create(factory As ImagingFactory, streamRef As Stream, guidVendorRef As Guid, metadataOptions As DecodeOptions) As BitmapDecoder</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.WIC.ImagingFactory.html">ImagingFactory</a></td>
      <td><span class="parametername">factory</span></td>
      <td><p>The factory.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></td>
      <td><span class="parametername">streamRef</span></td>
      <td><p>The stream ref.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.guid">Guid</a></td>
      <td><span class="parametername">guidVendorRef</span></td>
      <td><p>The GUID vendor ref.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.WIC.DecodeOptions.html">DecodeOptions</a></td>
      <td><span class="parametername">metadataOptions</span></td>
      <td><p>The metadata options.</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="C1.Util.DX.WIC.BitmapDecoder.html">BitmapDecoder</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_WIC_BitmapDecoder_Create_" data-uid="C1.Util.DX.WIC.BitmapDecoder.Create*"></a>
<h4 id="C1_Util_DX_WIC_BitmapDecoder_Create_C1_Util_DX_WIC_ImagingFactory_System_String_C1_Util_DX_WIC_DecodeOptions_" data-uid="C1.Util.DX.WIC.BitmapDecoder.Create(C1.Util.DX.WIC.ImagingFactory,System.String,C1.Util.DX.WIC.DecodeOptions)">Create(ImagingFactory, string, DecodeOptions)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.WIC.BitmapDecoder.html">BitmapDecoder</a> class from a file in read mode.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static BitmapDecoder Create(ImagingFactory factory, string filename, DecodeOptions metadataOptions)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Create(factory As ImagingFactory, filename As String, metadataOptions As DecodeOptions) As BitmapDecoder</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.WIC.ImagingFactory.html">ImagingFactory</a></td>
      <td><span class="parametername">factory</span></td>
      <td><p>The factory.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">filename</span></td>
      <td><p>The filename.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.WIC.DecodeOptions.html">DecodeOptions</a></td>
      <td><span class="parametername">metadataOptions</span></td>
      <td><p>The metadata options.</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="C1.Util.DX.WIC.BitmapDecoder.html">BitmapDecoder</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_WIC_BitmapDecoder_Create_" data-uid="C1.Util.DX.WIC.BitmapDecoder.Create*"></a>
<h4 id="C1_Util_DX_WIC_BitmapDecoder_Create_C1_Util_DX_WIC_ImagingFactory_System_String_C1_Util_DX_Storage_NativeFileAccess_C1_Util_DX_WIC_DecodeOptions_" data-uid="C1.Util.DX.WIC.BitmapDecoder.Create(C1.Util.DX.WIC.ImagingFactory,System.String,C1.Util.DX.Storage.NativeFileAccess,C1.Util.DX.WIC.DecodeOptions)">Create(ImagingFactory, string, NativeFileAccess, DecodeOptions)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.WIC.BitmapDecoder.html">BitmapDecoder</a> class from a file.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static BitmapDecoder Create(ImagingFactory factory, string filename, NativeFileAccess desiredAccess, DecodeOptions metadataOptions)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Create(factory As ImagingFactory, filename As String, desiredAccess As NativeFileAccess, metadataOptions As DecodeOptions) As BitmapDecoder</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.WIC.ImagingFactory.html">ImagingFactory</a></td>
      <td><span class="parametername">factory</span></td>
      <td><p>The factory.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">filename</span></td>
      <td><p>The filename.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Storage.NativeFileAccess.html">NativeFileAccess</a></td>
      <td><span class="parametername">desiredAccess</span></td>
      <td><p>The desired access.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.WIC.DecodeOptions.html">DecodeOptions</a></td>
      <td><span class="parametername">metadataOptions</span></td>
      <td><p>The metadata options.</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="C1.Util.DX.WIC.BitmapDecoder.html">BitmapDecoder</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_WIC_BitmapDecoder_Create_" data-uid="C1.Util.DX.WIC.BitmapDecoder.Create*"></a>
<h4 id="C1_Util_DX_WIC_BitmapDecoder_Create_C1_Util_DX_WIC_ImagingFactory_System_String_System_Nullable_System_Guid__C1_Util_DX_Storage_NativeFileAccess_C1_Util_DX_WIC_DecodeOptions_" data-uid="C1.Util.DX.WIC.BitmapDecoder.Create(C1.Util.DX.WIC.ImagingFactory,System.String,System.Nullable{System.Guid},C1.Util.DX.Storage.NativeFileAccess,C1.Util.DX.WIC.DecodeOptions)">Create(ImagingFactory, string, Guid?, NativeFileAccess, DecodeOptions)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.WIC.BitmapDecoder.html">BitmapDecoder</a> class from a file.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static BitmapDecoder Create(ImagingFactory factory, string filename, Guid? guidVendorRef, NativeFileAccess desiredAccess, DecodeOptions metadataOptions)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Create(factory As ImagingFactory, filename As String, guidVendorRef As Guid?, desiredAccess As NativeFileAccess, metadataOptions As DecodeOptions) As BitmapDecoder</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.WIC.ImagingFactory.html">ImagingFactory</a></td>
      <td><span class="parametername">factory</span></td>
      <td><p>The factory.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">filename</span></td>
      <td><p>The filename.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.guid">Guid</a>?</td>
      <td><span class="parametername">guidVendorRef</span></td>
      <td><p>The GUID vendor ref.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Storage.NativeFileAccess.html">NativeFileAccess</a></td>
      <td><span class="parametername">desiredAccess</span></td>
      <td><p>The desired access.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.WIC.DecodeOptions.html">DecodeOptions</a></td>
      <td><span class="parametername">metadataOptions</span></td>
      <td><p>The metadata options.</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="C1.Util.DX.WIC.BitmapDecoder.html">BitmapDecoder</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_WIC_BitmapDecoder_Create_" data-uid="C1.Util.DX.WIC.BitmapDecoder.Create*"></a>
<h4 id="C1_Util_DX_WIC_BitmapDecoder_Create_C1_Util_DX_WIC_ImagingFactory_System_IO_FileStream_C1_Util_DX_WIC_DecodeOptions_" data-uid="C1.Util.DX.WIC.BitmapDecoder.Create(C1.Util.DX.WIC.ImagingFactory,System.IO.FileStream,C1.Util.DX.WIC.DecodeOptions)">Create(ImagingFactory, FileStream, DecodeOptions)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.WIC.BitmapDecoder.html">BitmapDecoder</a> class from a filestream.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static BitmapDecoder Create(ImagingFactory factory, FileStream fileStream, DecodeOptions metadataOptions)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Create(factory As ImagingFactory, fileStream As FileStream, metadataOptions As DecodeOptions) As BitmapDecoder</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.WIC.ImagingFactory.html">ImagingFactory</a></td>
      <td><span class="parametername">factory</span></td>
      <td><p>The factory.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.filestream">FileStream</a></td>
      <td><span class="parametername">fileStream</span></td>
      <td><p>The filename.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.WIC.DecodeOptions.html">DecodeOptions</a></td>
      <td><span class="parametername">metadataOptions</span></td>
      <td><p>The metadata options.</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="C1.Util.DX.WIC.BitmapDecoder.html">BitmapDecoder</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_DX_WIC_BitmapDecoder_Create_" data-uid="C1.Util.DX.WIC.BitmapDecoder.Create*"></a>
<h4 id="C1_Util_DX_WIC_BitmapDecoder_Create_C1_Util_DX_WIC_ImagingFactory_System_IO_FileStream_System_Guid_C1_Util_DX_WIC_DecodeOptions_" data-uid="C1.Util.DX.WIC.BitmapDecoder.Create(C1.Util.DX.WIC.ImagingFactory,System.IO.FileStream,System.Guid,C1.Util.DX.WIC.DecodeOptions)">Create(ImagingFactory, FileStream, Guid, DecodeOptions)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.WIC.BitmapDecoder.html">BitmapDecoder</a> class from a filestream.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static BitmapDecoder Create(ImagingFactory factory, FileStream fileStream, Guid guidVendorRef, DecodeOptions metadataOptions)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Create(factory As ImagingFactory, fileStream As FileStream, guidVendorRef As Guid, metadataOptions As DecodeOptions) As BitmapDecoder</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.WIC.ImagingFactory.html">ImagingFactory</a></td>
      <td><span class="parametername">factory</span></td>
      <td><p>The factory.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.filestream">FileStream</a></td>
      <td><span class="parametername">fileStream</span></td>
      <td><p>The filename.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.guid">Guid</a></td>
      <td><span class="parametername">guidVendorRef</span></td>
      <td><p>The GUID vendor ref.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.WIC.DecodeOptions.html">DecodeOptions</a></td>
      <td><span class="parametername">metadataOptions</span></td>
      <td><p>The metadata options.</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="C1.Util.DX.WIC.BitmapDecoder.html">BitmapDecoder</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
