# CSJ2K.Icc.ICCProfile.toHexString

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="CSJ2K_Icc_ICCProfile_toHexString_" data-uid="CSJ2K.Icc.ICCProfile.toHexString*">toHexString Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="CSJ2K_Icc_ICCProfile_toHexString_" data-uid="CSJ2K.Icc.ICCProfile.toHexString*"></a>
<h4 id="CSJ2K_Icc_ICCProfile_toHexString_System_Byte_" data-uid="CSJ2K.Icc.ICCProfile.toHexString(System.Byte)">toHexString(byte)</h4>
<div class="markdown level1 summary"><p>Create a two character hex representation of a byte</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static string toHexString(byte i)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function toHexString(i As Byte) As String</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">i</span></td>
      <td><p>byte to represent</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="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><p>representation</p>
</td>
    </tr>
  </tbody>
</table>


<a id="CSJ2K_Icc_ICCProfile_toHexString_" data-uid="CSJ2K.Icc.ICCProfile.toHexString*"></a>
<h4 id="CSJ2K_Icc_ICCProfile_toHexString_System_Int16_" data-uid="CSJ2K.Icc.ICCProfile.toHexString(System.Int16)">toHexString(short)</h4>
<div class="markdown level1 summary"><p>Create a 4 character hex representation of a short</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static string toHexString(short i)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function toHexString(i As Short) As String</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.int16">short</a></td>
      <td><span class="parametername">i</span></td>
      <td><p>short to represent</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="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><p>representation</p>
</td>
    </tr>
  </tbody>
</table>


<a id="CSJ2K_Icc_ICCProfile_toHexString_" data-uid="CSJ2K.Icc.ICCProfile.toHexString*"></a>
<h4 id="CSJ2K_Icc_ICCProfile_toHexString_System_Int32_" data-uid="CSJ2K.Icc.ICCProfile.toHexString(System.Int32)">toHexString(int)</h4>
<div class="markdown level1 summary"><p>Create a 8 character hex representation of a int</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static string toHexString(int i)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function toHexString(i As Integer) As String</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.int32">int</a></td>
      <td><span class="parametername">i</span></td>
      <td><p>int to represent</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="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><p>representation</p>
</td>
    </tr>
  </tbody>
</table>
</div>
