ComponentOne Input for WinForms
ToKatakana(Char,Boolean) Method

C1.Win.C1Input.4 Assembly > C1.Win.C1Input Namespace > CharHelper Class > ToKatakana Method : ToKatakana(Char,Boolean) Method
A Unicode character.
true to return a full width Katakana, and false to return a half width Katakana.
Converts the value of a Unicode character to it's "Katakana" equivalent with an optional setting of full or half width. Special character handling for the Japanese language
Syntax
'Declaration
 
Public Overloads Shared Function ToKatakana( _
   ByVal c As System.Char, _
   ByVal fullWidth As System.Boolean _
) As System.Char()
public static System.char[] ToKatakana( 
   System.char c,
   System.bool fullWidth
)

Parameters

c
A Unicode character.
fullWidth
true to return a full width Katakana, and false to return a half width Katakana.

Return Value

The Katakana equivalent of c.

- or -

The unchanged value of c, if c is already a Katakana or not Hiragana.

See Also

Reference

CharHelper Class
CharHelper Members
Overload List