## TextBoxActiveXControl::SetText(const U16String\&) method


Gets and set text of the control.

```cpp
void Aspose::Cells::Drawing::ActiveXControls::TextBoxActiveXControl::SetText(const U16String &value)
```


## Examples


```cpp
U16String val = u"This is a test.";
activeXControl.SetText(val);
```

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [U16String](../../../aspose.cells/u16string/)
* Class [TextBoxActiveXControl](../)
* Namespace [Aspose::Cells::Drawing::ActiveXControls](../../)
* Library [Aspose.Cells for C++](../../../)
## TextBoxActiveXControl::SetText(const char16_t*) method


Gets and set text of the control.

```cpp
void Aspose::Cells::Drawing::ActiveXControls::TextBoxActiveXControl::SetText(const char16_t *value)
```


## Examples


```cpp
activeXControl.SetText(u"This is a test.");
```

## See Also

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