Aspose::Cells::Slicers::Slicer::SetAlternativeText method
Slicer::SetAlternativeText(const U16String&) method
Returns or sets the descriptive (alternative) text string of the Slicer object.
void Aspose::Cells::Slicers::Slicer::SetAlternativeText(const U16String &value)
Examples
U16String val = u"AlternativeText test";
if (slicer.GetAlternativeText().IsNull())
{
slicer.SetAlternativeText(val);
}
See Also
- Class Vector
- Class 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.
void Aspose::Cells::Slicers::Slicer::SetAlternativeText(const char16_t *value)
Examples
if (slicer.GetAlternativeText().IsNull())
{
slicer.SetAlternativeText(u"AlternativeText test");
}
See Also
- Class Vector
- Class Slicer
- Namespace Aspose::Cells::Slicers
- Library Aspose.Cells for C++