SheetXL - v1.0.2
    Preparing search index...

    Interface ISlicerStyle

    A slicer style: how a slicer draws its frame, its caption and its items in each state.

    Office Scripts has the same type, SlicerStyle. A slicer names its style with ISlicer.getStyle; the workbook's slicer styles, built-ins included, are IStyleCollection.getSlicerStyles.

    interface ISlicerStyle {
        isISlicerStyle: true;
        delete(): void;
        getName(): string;
        getProperties(): Readonly<ISlicerStyle.Properties>;
        isBuiltIn(): boolean;
        toJSON(): ISlicerStyle.JSON;
    }
    Index
    isISlicerStyle: true

    For runtime type checking.

    • Deletes the style from the workbook. A built-in style is not deleted.

      Returns void

    • Returns the name of the slicer style.

      Returns string

    • Indicates whether this is one of Excel's built-in slicer styles.

      Returns boolean