EastAsianWidthDotNet  1.0.0
Public Member Functions | List of all members
EastAsianWidthDotNet.IEastAsianWidth Interface Reference

EastAsianWidth of Unicode. http://www.unicode.org/reports/tr11/ More...

Inheritance diagram for EastAsianWidthDotNet.IEastAsianWidth:
EastAsianWidthDotNet.EastAsianWidth

Public Member Functions

int GetWidth (string value)
 Get the width of the string with respect to EastAsianWidth, according to CultureInfo.CurrentUICulture. More...
 
int GetWidth (string value, CultureInfo cultureInfo)
 Gets the width of the string considering EastAsianWidth by specifying CultureInfo. More...
 
int GetWidth (string value, bool isEastAsia)
 Get the width of the string considering EastAsianWidth by specifying whether it is East Asia. More...
 
bool IsFullWidth (char value)
 Indicates whether this character is Full Width. More...
 
bool IsFullWidth (char value, CultureInfo cultureInfo)
 Indicates whether this character is Full Width by specifying CultureInfo. More...
 
bool IsFullWidth (char value, bool isEastAsia)
 Indicates whether this character is Full Width by specifying whether it is East Asia. More...
 
EastAsianWidthKind GetKind (char value)
 Get the EastAsianWidthKind of the character. More...
 

Detailed Description

EastAsianWidth of Unicode. http://www.unicode.org/reports/tr11/

Member Function Documentation

◆ GetKind()

EastAsianWidthKind EastAsianWidthDotNet.IEastAsianWidth.GetKind ( char  value)

Get the EastAsianWidthKind of the character.

Parameters
value
Returns

Implemented in EastAsianWidthDotNet.EastAsianWidth.

◆ GetWidth() [1/3]

int EastAsianWidthDotNet.IEastAsianWidth.GetWidth ( string  value)

Get the width of the string with respect to EastAsianWidth, according to CultureInfo.CurrentUICulture.

Parameters
value
Returns

Implemented in EastAsianWidthDotNet.EastAsianWidth.

◆ GetWidth() [2/3]

int EastAsianWidthDotNet.IEastAsianWidth.GetWidth ( string  value,
bool  isEastAsia 
)

Get the width of the string considering EastAsianWidth by specifying whether it is East Asia.

Parameters
value
isEastAsia
Returns

Implemented in EastAsianWidthDotNet.EastAsianWidth.

◆ GetWidth() [3/3]

int EastAsianWidthDotNet.IEastAsianWidth.GetWidth ( string  value,
CultureInfo  cultureInfo 
)

Gets the width of the string considering EastAsianWidth by specifying CultureInfo.

Parameters
value
cultureInfo
Returns

Implemented in EastAsianWidthDotNet.EastAsianWidth.

◆ IsFullWidth() [1/3]

bool EastAsianWidthDotNet.IEastAsianWidth.IsFullWidth ( char  value)

Indicates whether this character is Full Width.

Parameters
value
Returns

Implemented in EastAsianWidthDotNet.EastAsianWidth.

◆ IsFullWidth() [2/3]

bool EastAsianWidthDotNet.IEastAsianWidth.IsFullWidth ( char  value,
bool  isEastAsia 
)

Indicates whether this character is Full Width by specifying whether it is East Asia.

Parameters
value
isEastAsia
Returns

Implemented in EastAsianWidthDotNet.EastAsianWidth.

◆ IsFullWidth() [3/3]

bool EastAsianWidthDotNet.IEastAsianWidth.IsFullWidth ( char  value,
CultureInfo  cultureInfo 
)

Indicates whether this character is Full Width by specifying CultureInfo.

Parameters
value
cultureInfo
Returns

Implemented in EastAsianWidthDotNet.EastAsianWidth.


The documentation for this interface was generated from the following file: