## CellsHelper::GetTextWidth(const U16String\&, const Aspose::Cells::Font\&, double) method


Get width of text in unit of points.

```cpp
static double Aspose::Cells::CellsHelper::GetTextWidth(const U16String &text, const Aspose::Cells::Font &font, double scaling)
```


| Parameter | Type | Description |
| --- | --- | --- |
| text | const U16String\& | The text. |
| font | const Aspose::Cells::Font\& | The font of the text. |
| scaling | double | The scaling of text. |

## ReturnValue



## See Also

* Class [Vector](../../vector/)
* Class [U16String](../../u16string/)
* Class [Font](../../font/)
* Class [CellsHelper](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## CellsHelper::GetTextWidth(const char16_t*, const Aspose::Cells::Font\&, double) method


Get width of text in unit of points.

```cpp
static double Aspose::Cells::CellsHelper::GetTextWidth(const char16_t *text, const Aspose::Cells::Font &font, double scaling)
```


| Parameter | Type | Description |
| --- | --- | --- |
| text | const char16_t* | The text. |
| font | const Aspose::Cells::Font\& | The font of the text. |
| scaling | double | The scaling of text. |

## ReturnValue



## See Also

* Class [Vector](../../vector/)
* Class [Font](../../font/)
* Class [CellsHelper](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
