[]
Provides helper methods for handling Unicode characters and bidirectional text processing.
public static class Helper
| Name | Description |
|---|---|
| CreateCharTypesFromText(string, LevelOverride) | Creates an array of CharType based on the text parameter. |
| DetermineCategory(UnicodeClass) | Based on the UnicodeClass parameter, the UnicodeCharacterCategory is returned. |
| DetermineStrongTextCategory(UnicodeClass) | Based on the UnicodeClass parameter, the UnicodeCharacterCategory is returned, including Numbers as Strong. |
| DetermineUnicodeClass(string) | Determines which bidirectional class the Unicode character belongs to. |
| DetermineUnicodeClassIs(int, UnicodeClass) | Determines if a Unicode character belongs to a specified bidirectional class. |
| DetermineUnicodeClassIs(string, UnicodeClass) | Determines if a Unicode character belongs to a specified bidirectional class. |
| GetCodes(string) | Gets the codes for the specified text. |
| GetSplitRanges(CharType[]) | Creates a collection of ranges with common levels. |
| IsFirstStrongCharacterType(UnicodeClass) | Determines if the Unicode class is a strong character type. |
| MirrorUnicodeString(string) | Searches the Mirroring table to determine if characters in the string need to be mirrored. |
| NeedsSplit(CharType[]) | Determines if an array of CharType needs to be split into different embedding objects. |
| StringFromCharType(CharType[]) | Converts an array of CharType to a Unicode string. |
| StringFromCharType(CharType[], int, int) | Converts a portion of an array of CharType to a Unicode string. |
| UpdateMap(int, IList<MapEntry>) | Allows the map to update all entries affected when a character is removed. |