## FontMetrics::MeasureString method


Measures string and returns string width.

```cpp
double Aspose::Font::FontMetrics::MeasureString(System::String unicode, double fontSize) override=0
```


| Parameter | Type | Description |
| --- | --- | --- |
| unicode | System::String | Unicode string. |
| fontSize | double | [Font](../../font/) size. |

### ReturnValue

String width.

## See Also

* Class [String](../../../system/string/)
* Class [FontMetrics](../)
* Namespace [Aspose::Font](../../)
* Library [Aspose.Font for C++](../../../)
