Aspose::Cells::Slicers::Slicer::SetName method

Slicer::SetName(const U16String&) method

Returns or sets the name of the specified slicer.

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

Examples

U16String val = u"slicer name";
if (slicer.GetName().IsNull())
{
    slicer.SetName(val);
}

See Also

Slicer::SetName(const char16_t*) method

Returns or sets the name of the specified slicer.

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

Examples

if (slicer.GetName().IsNull())
{
    slicer.SetName(u"slicer name");
}

See Also