ComponentOne CalendarView for WinForms
C1.Framework 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.

In This Topic
    ToKatakana(Char,Boolean) Method
    In This Topic
    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 Char, _
       ByVal fullWidth As Boolean _
    ) As Char()
    public static char[] ToKatakana( 
       char c,
       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