# C1.Util.DX.Direct2D.ColorContext.GetProfile

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_Direct2D_ColorContext_GetProfile_" data-uid="C1.Util.DX.Direct2D.ColorContext.GetProfile*">GetProfile Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_Direct2D_ColorContext_GetProfile_" data-uid="C1.Util.DX.Direct2D.ColorContext.GetProfile*"></a>
<h4 id="C1_Util_DX_Direct2D_ColorContext_GetProfile_System_Byte___System_Int32_" data-uid="C1.Util.DX.Direct2D.ColorContext.GetProfile(System.Byte[],System.Int32)">GetProfile(byte[], int)</h4>
<div class="markdown level1 summary"><p>HRESULT ID2D1ColorContext::GetProfile([Out, Buffer] unsigned char* profile,[In] unsigned int profileSize)</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void GetProfile(byte[] rofileRef, int profileSize)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub GetProfile(rofileRef As Byte(), profileSize 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="https://learn.microsoft.com/dotnet/api/system.byte">byte</a>[]</td>
      <td><span class="parametername">rofileRef</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">profileSize</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
