## String::FromWCS method


Creates [String](../) from widestring.

```cpp
static String System::String::FromWCS(const std::wstring &wcs)
```


| Parameter | Type | Description |
| --- | --- | --- |
| wcs | const std::wstring\& | Widestring to convert into [String](../). |

### ReturnValue

[String](../) object representing passed string.

## See Also

* Class [String](../)
* Class [String](../)
* Namespace [System](../../)
* Library [Aspose.TeX for C++](../../../)
