ExcelScript.SlicerStyle interface

Represents a slicer style, which defines style elements by region of the slicer.

Methods

delete()

Deletes the slicer style.

duplicate()

Creates a duplicate of this slicer style with copies of all the style elements.

getName()

Specifies the name of the slicer style.

getReadOnly()

Specifies if this SlicerStyle object is read-only.

setName(name)

Specifies the name of the slicer style.

Method Details

delete()

Deletes the slicer style.

delete(): void;

Returns

void

duplicate()

Creates a duplicate of this slicer style with copies of all the style elements.

duplicate(): SlicerStyle;

Returns

getName()

Specifies the name of the slicer style.

getName(): string;

Returns

string

getReadOnly()

Specifies if this SlicerStyle object is read-only.

getReadOnly(): boolean;

Returns

boolean

setName(name)

Specifies the name of the slicer style.

setName(name: string): void;

Parameters

name

string

Returns

void