## CharUnicodeInfo::GetUnicodeCategory(char16_t) method


Gets unicode category of the character.

```cpp
static UnicodeCategory System::Globalization::CharUnicodeInfo::GetUnicodeCategory(char16_t ch)
```


| Parameter | Type | Description |
| --- | --- | --- |
| ch | char16_t | Unicode character. |

### ReturnValue

Unicode category.

## See Also

* Enum [UnicodeCategory](../../unicodecategory/)
* Class [CharUnicodeInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.PDF for C++](../../../)
## CharUnicodeInfo::GetUnicodeCategory(const String\&, int) method


Gets unicode category of the character at the specified index of the string.

```cpp
static UnicodeCategory System::Globalization::CharUnicodeInfo::GetUnicodeCategory(const String &str, int index)
```


| Parameter | Type | Description |
| --- | --- | --- |
| str | const String\& | The string containing unicode character. |
| index | int | The index of the unicode character. |

### ReturnValue

Unicode category.

## See Also

* Enum [UnicodeCategory](../../unicodecategory/)
* Class [String](../../../system/string/)
* Class [CharUnicodeInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.PDF for C++](../../../)
