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

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