ComponentOne MultiSelect for WinForms
C1.Win.Input Namespace / CharHelper Class / ToHalfWidth Method
A Unicode character.

In This Topic
    ToHalfWidth Method (CharHelper)
    In This Topic
    Converts the value of a Unicode character to it's half width equivalent. Ranges are Latin basic, Katakana and Hangul characters.
    Syntax
    'Declaration
     
    
    Public Shared Function ToHalfWidth( _
       ByVal c As Char _
    ) As Char
    public static char ToHalfWidth( 
       char c
    )

    Parameters

    c
    A Unicode character.

    Return Value

    The half width equivalent of c.

    - or -

    The unchanged value of c, if c is already a half width or not a multi-width character.

    See Also