# C1.Win.C1Input.CharHelper.ToKatakana

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_C1Input_CharHelper_ToKatakana_" data-uid="C1.Win.C1Input.CharHelper.ToKatakana*">ToKatakana Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_C1Input_CharHelper_ToKatakana_" data-uid="C1.Win.C1Input.CharHelper.ToKatakana*"></a>
<h4 id="C1_Win_C1Input_CharHelper_ToKatakana_System_Char_" data-uid="C1.Win.C1Input.CharHelper.ToKatakana(System.Char)">ToKatakana(char)</h4>
<div class="markdown level1 summary"><p>Converts the value of a Unicode character to it's
&quot;Katakana&quot; equivalent. Special character handling
for the Japanese language.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static char ToKatakana(char c)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function ToKatakana(c As Char) As Char</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.char">char</a></td>
      <td><span class="parametername">c</span></td>
      <td><p>A Unicode character.</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.char">char</a></td>
      <td><p>The Katakana equivalent of c.</p>
<p>- or -</p>
<p>
   The unchanged value of c, if c is already a 
   Katakana or not Hiragana.
</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Win_C1Input_CharHelper_ToKatakana_" data-uid="C1.Win.C1Input.CharHelper.ToKatakana*"></a>
<h4 id="C1_Win_C1Input_CharHelper_ToKatakana_System_Char_System_Boolean_" data-uid="C1.Win.C1Input.CharHelper.ToKatakana(System.Char,System.Boolean)">ToKatakana(char, bool)</h4>
<div class="markdown level1 summary"><p>Converts the value of a Unicode character to it's
&quot;Katakana&quot; equivalent with an optional setting of
full or half width. Special character handling for
the Japanese language</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static char[] ToKatakana(char c, bool fullWidth)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function ToKatakana(c As Char, fullWidth As Boolean) As Char()</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.char">char</a></td>
      <td><span class="parametername">c</span></td>
      <td><p>A Unicode character.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">fullWidth</span></td>
      <td><p><b>true</b> to return a full width Katakana, and
<b>false</b> to return a half width Katakana.</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.char">char</a>[]</td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
