|
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...
|
|
◆ GetKind()
static EastAsianWidthKind EastAsianWidthDotNet.StringExtensions.GetKind |
( |
this char |
value | ) |
|
|
static |
Get the EastAsianWidthKind of the character.
- Parameters
-
- Returns
◆ GetWidth() [1/3]
static int EastAsianWidthDotNet.StringExtensions.GetWidth |
( |
this string |
value | ) |
|
|
static |
Get the width of the string considering EastAsianWidth.
- Parameters
-
- 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
-
- 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
-
- Returns
◆ IsFullWidth() [1/3]
static bool EastAsianWidthDotNet.StringExtensions.IsFullWidth |
( |
this char |
value | ) |
|
|
static |
Indicates whether this character is Full Width.
- Parameters
-
- 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
-
- 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
-
- Returns
The documentation for this class was generated from the following file:
- src/EastAsianWidthDotNet/StringExtensions.cs