Slicer
Source: aspose.
summary description of Slicer View
Methods
Methods
addPivotConnection(pivot)
Adds PivotTable connection.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
pivot |
|
The PivotTable object |
getAlternativeText()
Returns or sets the descriptive (alternative) text string of the Slicer object.
getCaption()
Returns or sets the caption of the specified slicer.
getCaptionVisible()
Returns or sets whether the header that displays the slicer Caption is visible the default value is true
getColumnWidth()
Returns or sets the width, in points, of each column in the slicer.
getColumnWidthPixel()
Gets or sets the width in unit of pixels for each column of the slicer.
getHeight()
Returns or sets the height of the specified slicer, in points.
getHeightPixel()
Returns or sets the height of the specified slicer, in pixels.
getLeftPixel()
Returns or sets the horizontal offset of slicer shape from its left column, in pixels.
getLockedAspectRatio()
Indicates whether locking aspect ratio.
getLockedPosition()
Indicates whether the specified slicer can be moved or resized by using the user interface.
getName()
Returns or sets the name of the specified slicer
getNumberOfColumns()
Returns or sets the number of columns in the specified slicer.
getParent()
Returns the Worksheet object which contains this slicer. Read-only.
getPlacement()
Represents the way the drawing object is attached to the cells below it. The property controls the placement of an object on a worksheet. The value of the property is PlacementType integer constant.
getRowHeight()
Returns or sets the height, in points, of each row in the specified slicer.
getRowHeightPixel()
Returns or sets the height, in pixels, of each row in the specified slicer.
getSlicerCache()
Returns the SlicerCache object associated with the slicer. Read-only.
getStyleType()
Specify the type of Built-in slicer style the default type is SlicerStyleLight1 The value of the property is SlicerStyleType integer constant.
getTitle()
Specifies the title of the current Slicer object.
getTopPixel()
Returns or sets the vertical offset of slicer shape from its top row, in pixels.
getWidth()
Returns or sets the width of the specified slicer, in points.
getWidthPixel()
Returns or sets the width of the specified slicer, in pixels.
isLocked()
Indicates whether the slicer shape is locked.
isPrintable()
Indicates whether the slicer object is printable.
refresh()
Refreshing the slicer.Meanwhile, Refreshing and Calculating relative PivotTables.
removePivotConnection(pivot)
Removes PivotTable connection.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
pivot |
|
The PivotTable object |
setAlternativeText()
Returns or sets the descriptive (alternative) text string of the Slicer object.
setCaption()
Returns or sets the caption of the specified slicer.
setCaptionVisible()
Returns or sets whether the header that displays the slicer Caption is visible the default value is true
setColumnWidth()
Returns or sets the width, in points, of each column in the slicer.
setColumnWidthPixel()
Gets or sets the width in unit of pixels for each column of the slicer.
setHeight()
Returns or sets the height of the specified slicer, in points.
setHeightPixel()
Returns or sets the height of the specified slicer, in pixels.
setLeftPixel()
Returns or sets the horizontal offset of slicer shape from its left column, in pixels.
setLocked()
Indicates whether the slicer shape is locked.
setLockedAspectRatio()
Indicates whether locking aspect ratio.
setLockedPosition()
Indicates whether the specified slicer can be moved or resized by using the user interface.
setName()
Returns or sets the name of the specified slicer
setNumberOfColumns()
Returns or sets the number of columns in the specified slicer.
setPlacement()
Represents the way the drawing object is attached to the cells below it. The property controls the placement of an object on a worksheet. The value of the property is PlacementType integer constant.
setPrintable()
Indicates whether the slicer object is printable.
setRowHeight()
Returns or sets the height, in points, of each row in the specified slicer.
setRowHeightPixel()
Returns or sets the height, in pixels, of each row in the specified slicer.
setStyleType()
Specify the type of Built-in slicer style the default type is SlicerStyleLight1 The value of the property is SlicerStyleType integer constant.
setTitle()
Specifies the title of the current Slicer object.
setTopPixel()
Returns or sets the vertical offset of slicer shape from its top row, in pixels.
setWidth()
Returns or sets the width of the specified slicer, in points.
setWidthPixel()
Returns or sets the width of the specified slicer, in pixels.