EastAsianWidthDotNet  1.0.0
Static Public Member Functions | List of all members
EastAsianWidthDotNet.StringExtensions Class Reference

Static Public Member Functions

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

Member Function Documentation

◆ GetKind()

static EastAsianWidthKind EastAsianWidthDotNet.StringExtensions.GetKind ( this char  value)
static

Get the EastAsianWidthKind of the character.

Parameters
value
Returns

◆ GetWidth() [1/3]

static int EastAsianWidthDotNet.StringExtensions.GetWidth ( this string  value)
static

Get the width of the string considering EastAsianWidth.

Parameters
value
Returns

◆ GetWidth() [2/3]

static int EastAsianWidthDotNet.StringExtensions.GetWidth ( this string  value,
bool  isEastAsia 
)
static

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

Parameters
value
isEastAsia
Returns

◆ GetWidth() [3/3]

static int EastAsianWidthDotNet.StringExtensions.GetWidth ( this string  value,
CultureInfo  cultureInfo 
)
static

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

Parameters
value
cultureInfo
Returns

◆ IsFullWidth() [1/3]

static bool EastAsianWidthDotNet.StringExtensions.IsFullWidth ( this char  value)
static

Indicates whether this character is Full Width.

Parameters
value
Returns

◆ IsFullWidth() [2/3]

static bool EastAsianWidthDotNet.StringExtensions.IsFullWidth ( this char  value,
bool  isEastAsia 
)
static

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

Parameters
value
isEastAsia
Returns

◆ IsFullWidth() [3/3]

static bool EastAsianWidthDotNet.StringExtensions.IsFullWidth ( this char  value,
CultureInfo  cultureInfo 
)
static

Indicates whether this character is Full Width by specifying CultureInfo.

Parameters
value
cultureInfo
Returns

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