Methods

getDateTimeValue()

Gets the date time value of the pivot item If the value is null ,it will return DateTime.MinValue

getDoubleValue()

Gets the double value of the pivot item If the value is null or not number ,it will return 0

getIndex()

Gets the index of the pivot item in the pivot field

getName()

Gets the name of the pivot item.

getStringValue()

Gets the string value of the pivot item If the value is null, it will return ""

getValue()

Gets the value of the pivot item

hide()

Sets whether the pivot item is hidden. NOTE: This member is now obsolete. Instead, please use Aspose.Cells.Pivot.PivotField.HideItem method. This property will be removed 12 months later since JANUARY 2012. Aspose apologizes for any inconvenience you may have experienced.

isHidden()

Gets and Sets whether the pivot item is hidden.

isHideDetail()

Gets and Sets whether the pivot item hides detail.

move(count, isSameParent)

Moves the item up or down

Parameters

Name Type Optional Description

count

Number

 

The number of moving up or down. Move the item up if this is less than zero; Move the item down if this is greater than zero.

isSameParent

boolean

 

Specifying whether moving operation is in the same parent node or not

setHidden()

Gets and Sets whether the pivot item is hidden.

setHideDetail()

Gets and Sets whether the pivot item hides detail.

setIndex()

Gets the index of the pivot item in the pivot field

setPosition()

Specifying the position index in all the PivotItems,not the PivotItems under the same parent node.

setPositionInSameParentNode()

Specifying the position index in the PivotItems under the same parent node.