aspose.cells

Class TableStyleCollection

Represents all custom table styles.

Property Getters/Setters Summary
functiongetCount()
functionget(index)
Gets the table style by the index.
functionget(name)
Gets the table style by the name.
 
Method Summary
functionadd(value)
Reserved for internal use.
functionaddPivotTableStyle(name)
Adds a custom pivot table style.
functionaddTableStyle(name)
Adds a custom table style.
functionclear()
functioncontains(value)
Reserved for internal use.
functionget(index)
Reserved for internal use.
functiongetBuiltinTableStyle(type)
Gets the builtin table style
functionindexOf(value)
Reserved for internal use.
functioniterator()
functionremoveAt(index)
 

    • Property Getters/Setters Detail

      • getCount : Number 

        function getCount()
        
      • get : TableStyle 

        function get(index)
        
        Gets the table style by the index.
        Parameters:
        index - The position of the table style in the list.
        Returns:
        The table style object.
      • get : TableStyle 

        function get(name)
        
        Gets the table style by the name.
        Parameters:
        name - The table style name.
        Returns:
        The table style object.
    • Method Detail

      • addTableStyle

        function addTableStyle(name)
        Adds a custom table style.
        Parameters:
        name: String - The table style name.
        Returns:
        The index of the table style.
      • addPivotTableStyle

        function addPivotTableStyle(name)
        Adds a custom pivot table style.
        Parameters:
        name: String - The pivot table style name.
        Returns:
        The index of the pivot table style.
      • getBuiltinTableStyle

        function getBuiltinTableStyle(type)
        Gets the builtin table style
        Parameters:
        type: Number - A TableStyleType value. The builtin table style type.
        Returns:
      • clear

        function clear()
      • removeAt

        function removeAt(index)
      • iterator

        function iterator()
      • get

        function get(index)
        Reserved for internal use.
      • contains

        function contains(value)
        Reserved for internal use.
      • add

        function add(value)
        Reserved for internal use.
      • indexOf

        function indexOf(value)
        Reserved for internal use.