asposecells.api

Class TableStyleCollection

Represents all custom table styles.

Property Getters/Setters Summary
methodgetCount()
methodgetDefaultPivotStyleName()
method
           Gets and sets the default style name of pivot table .
methodgetDefaultTableStyleName()
method
           Gets and sets the default style name of the table.
methodget(index)
Gets the table style by the index.
methodget(name)
Gets the table style by the name.
 
Method Summary
methodadd(value)
Reserved for internal use.
methodaddPivotTableStyle(name)
Adds a custom pivot table style.
methodaddTableStyle(name)
Adds a custom table style.
methodclear()
methodcontains(value)
Reserved for internal use.
methodget(index)
Reserved for internal use.
methodgetBuiltinTableStyle(type)
Gets the builtin table style
methodindexOf(value)
Reserved for internal use.
methoditerator()
methodremoveAt(index)
 

    • Property Getters/Setters Detail

      • getDefaultTableStyleName/setDefaultTableStyleName : String 

        String getDefaultTableStyleName() / setDefaultTableStyleName(value)
        
        Gets and sets the default style name of the table.
      • getDefaultPivotStyleName/setDefaultPivotStyleName : String 

        String getDefaultPivotStyleName() / setDefaultPivotStyleName(value)
        
        Gets and sets the default style name of pivot table .
      • getCount : int 

        int getCount()
        
      • get : TableStyle 

        TableStyle 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 

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

      • addTableStyle

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

        int 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

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

         clear()
      • removeAt

         removeAt(index)
      • iterator

        Iterator iterator()
      • get

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

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

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

        int indexOf(value)
        Reserved for internal use.