Aspose::Cells::Slicers::Slicer::SetTitle method

Slicer::SetTitle(const U16String&) method

Specifies the title of the current Slicer object.

void Aspose::Cells::Slicers::Slicer::SetTitle(const U16String &value)

Examples

U16String val = u"slicer title";
if(slicer.GetTitle().IsNull())
{
    slicer.SetTitle(val);
}

See Also

Slicer::SetTitle(const char16_t*) method

Specifies the title of the current Slicer object.

void Aspose::Cells::Slicers::Slicer::SetTitle(const char16_t *value)

Examples

if (slicer.GetTitle().IsNull())
{
    slicer.SetTitle(u"slicer title");
}

See Also