## ShapeCollection::AddTextBoxInChart method


Adds a textbox to the chart.

```cpp
TextBox Aspose::Cells::Drawing::ShapeCollection::AddTextBoxInChart(int32_t top, int32_t left, int32_t height, int32_t width)
```


| Parameter | Type | Description |
| --- | --- | --- |
| top | int32_t | Represents the vertical offset of textbox from the upper left corner in units of 1/4000 of the chart area. |
| left | int32_t | Represents the vertical offset of textbox from the upper left corner in units of 1/4000 of the chart area. |
| height | int32_t | Represents the height of textbox, in units of 1/4000 of the chart area. |
| width | int32_t | Represents the width of textbox, in units of 1/4000 of the chart area. |

## ReturnValue

A [TextBox](../../textbox/) object.

## See Also

* Class [TextBox](../../textbox/)
* Class [Vector](../../../aspose.cells/vector/)
* Class [ShapeCollection](../)
* Namespace [Aspose::Cells::Drawing](../../)
* Library [Aspose.Cells for C++](../../../)
