asposecells.api

Class ConditionalFormattingIcon

Represents the custom icon of conditional formatting rule.

Property Getters/Setters Summary
methodgetImageData()
Gets the icon set data.
methodgetIndex()
method
setIndex(value)
           Gets and sets the icon's index in the icon set.
methodgetType()
method
setType(value)
           Gets and sets the icon set type. The value of the property is IconSetType integer constant.
 
Method Summary
static methodgetIconImageData(type, index)
Get the icon set data
methodgetImageData(cell)
Gets the image data with the setting of cell.
 

    • Property Getters/Setters Detail

      • getImageData : byte[] 

        byte[] getImageData()
        
        Gets the icon set data.
      • getType/setType : int 

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

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

      • getIconImageData

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

        byte[] 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.