Aspose::Cells::Slicers::Slicer::SetCaption method
Slicer::SetCaption(const U16String&) method
Returns or sets the caption of the specified slicer.
void Aspose::Cells::Slicers::Slicer::SetCaption(const U16String &value)
Examples
U16String val = u"slicer caption";
if (slicer.GetCaption().IsNull())
{
slicer.SetCaption(val);
}
See Also
- Class Vector
- Class U16String
- Class Slicer
- Namespace Aspose::Cells::Slicers
- Library Aspose.Cells for C++
Slicer::SetCaption(const char16_t*) method
Returns or sets the caption of the specified slicer.
void Aspose::Cells::Slicers::Slicer::SetCaption(const char16_t *value)
Examples
if(slicer.GetCaption().IsNull())
{
slicer.SetCaption(u"slicer caption");
}
See Also
- Class Vector
- Class Slicer
- Namespace Aspose::Cells::Slicers
- Library Aspose.Cells for C++