# CSJ2K.Icc.ICCMatrixBasedInputProfile.createInstance

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="CSJ2K_Icc_ICCMatrixBasedInputProfile_createInstance_" data-uid="CSJ2K.Icc.ICCMatrixBasedInputProfile.createInstance*">createInstance Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="CSJ2K_Icc_ICCMatrixBasedInputProfile_createInstance_" data-uid="CSJ2K.Icc.ICCMatrixBasedInputProfile.createInstance*"></a>
<h4 id="CSJ2K_Icc_ICCMatrixBasedInputProfile_createInstance_CSJ2K_Color_ColorSpace_" data-uid="CSJ2K.Icc.ICCMatrixBasedInputProfile.createInstance(CSJ2K.Color.ColorSpace)">createInstance(ColorSpace)</h4>
<div class="markdown level1 summary"><p>Factory method to create ICCMatrixBasedInputProfile based on a
suppled profile 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 ICCMatrixBasedInputProfile createInstance(ColorSpace csm)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function createInstance(csm As ColorSpace) As ICCMatrixBasedInputProfile</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="CSJ2K.Color.ColorSpace.html">ColorSpace</a></td>
      <td><span class="parametername">csm</span></td>
      <td></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="CSJ2K.Icc.ICCMatrixBasedInputProfile.html">ICCMatrixBasedInputProfile</a></td>
      <td><p>the ICCMatrixBasedInputProfile</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="CSJ2K.Icc.ICCProfileInvalidException.html">ICCProfileInvalidException</a></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="CSJ2K.Color.ColorSpaceException.html">ColorSpaceException</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
