aspose.cells

Class ConditionalFormattingIcon

Represents the custom icon of conditional formatting rule.

Property Getters/Setters Summary
functiongetImageData()
Gets the icon set data.
functiongetIndex()
function
setIndex(value)
           Gets and sets the icon's index in the icon set.
functiongetType()
function
setType(value)
           Gets and sets the icon set type. The value of the property is IconSetType integer constant.
 
Method Summary
static functiongetIconImageData(type, index)
Get the icon set data
functiongetImageData(cell)
Gets the image data with the setting of cell.
 

    • Property Getters/Setters Detail

      • getImageData : byte[] 

        function getImageData()
        
        Gets the icon set data.
      • getType/setType : Number 

        function getType() / function setType(value)
        
        Gets and sets the icon set type. The value of the property is IconSetType integer constant.
      • getIndex/setIndex : Number 

        function getIndex() / function setIndex(value)
        
        Gets and sets the icon's index in the icon set.
    • Method Detail

      • getIconImageData

        static function getIconImageData(type, index)
        Get the icon set data
        Parameters:
        type: Number - A IconSetType value. icon's type
        index: Number - icon's index
        Returns:
      • getImageData

        function getImageData(cell)
        Gets the image data with the setting of cell.
        Parameters:
        cell: Cell - The setting of cell.
        Returns:
        Returns the image data of icon.