aspose.cells

Class TableStyleElement

Represents the element of the table style.

Property Getters/Setters Summary
functiongetSize()
function
setSize(value)
           Number of rows or columns in a single band of striping. Applies only when type is firstRowStripe, secondRowStripe, firstColumnStripe, or secondColumnStripe.
functiongetType()
Gets the element type. The value of the property is TableStyleElementType integer constant.
 
Method Summary
functiongetElementStyle()
Gets the element style.
functionsetElementStyle(style)
Sets the element style.
 

    • Property Getters/Setters Detail

      • getSize/setSize : Number 

        function getSize() / function setSize(value)
        
        Number of rows or columns in a single band of striping. Applies only when type is firstRowStripe, secondRowStripe, firstColumnStripe, or secondColumnStripe.
      • getType : Number 

        function getType()
        
        Gets the element type. The value of the property is TableStyleElementType integer constant.
    • Method Detail

      • getElementStyle

        function getElementStyle()
        Gets the element style.
        Returns:
        Returns the Style object.
      • setElementStyle

        function setElementStyle(style)
        Sets the element style.
        Parameters:
        style: Style - The element style.