## Slicer::SetAlternativeText(const U16String\&) method


Returns or sets the descriptive (alternative) text string of the [Slicer](../) object.


>Deprecated
>
>Use Shape.AlternativeText property instead. 
```cpp
void Aspose::Cells::Slicers::Slicer::SetAlternativeText(const U16String &value)
```

## Remarks


NOTE: This member is now obsolete. Instead, please use Shape.AlternativeText property. This property will be removed 12 months later since January 2026. **Aspose** apologizes for any inconvenience you may have experienced.


## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [U16String](../../../aspose.cells/u16string/)
* Class [Slicer](../)
* Namespace [Aspose::Cells::Slicers](../../)
* Library [Aspose.Cells for C++](../../../)
## Slicer::SetAlternativeText(const char16_t*) method


Returns or sets the descriptive (alternative) text string of the [Slicer](../) object.


>Deprecated
>
>Use Shape.AlternativeText property instead. 
```cpp
void Aspose::Cells::Slicers::Slicer::SetAlternativeText(const char16_t *value)
```

## Remarks


NOTE: This member is now obsolete. Instead, please use Shape.AlternativeText property. This property will be removed 12 months later since January 2026. **Aspose** apologizes for any inconvenience you may have experienced.


## See Also

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