[]
Represents a slicer in a IWorkbook.
public interface ISlicer
Gets or sets the caption of the specified slicer.
string Caption { get; set; }
Gets or sets whether the header that displays the slicer ISlicer.Caption is visible.
bool DisplayHeader { get; set; }
Gets or sets the height of the specified slicer, in points.
double Height { get; set; }
Gets or sets the horizontal position of the specified slicer, in points, relative to the upper-left corner of cell A1 on a worksheet.
double Left { get; set; }
Gets or sets the name of the specified slicer.
string Name { get; set; }
Gets or sets the number of columns in the specified slicer.
int NumberOfColumns { get; set; }
Gets or sets the height, in points, of each row in the specified slicer.
double RowHeight { get; set; }
Gets the IShape object associated with the specified slicer.
IShape Shape { get; }
Gets the ISlicerCache object associated with the slicer.
ISlicerCache SlicerCache { get; }
Gets or sets the style currently applied to the specified slicer.
ITableStyle Style { get; set; }
Gets or sets the vertical position of the specified slicer, in points, relative to the upper-left corner of cell A1 on a worksheet.
double Top { get; set; }
Gets or sets the width of the specified slicer, in points.
double Width { get; set; }
Deletes the slicer and removes it from the associated ISlicers collection.
void Delete()
Updates the slicer settings from the json string.
void FromJson(string json)
json
stringThe json string contains a slicer.
Generates a json string from slicer.
string ToJson()
The json string contains a slicer.