Class ConditionalFormattingIcon

Class ConditionalFormattingIcon

Namespace: Aspose.Cells
Assembly: Aspose.Cells.dll (25.2.0)

Represents the custom icon of conditional formatting rule.

public class ConditionalFormattingIcon

Inheritance

objectConditionalFormattingIcon

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Properties

ImageData

Gets the icon set data.

public byte[] ImageData { get; }

Property Value

byte[]

Index

Gets and sets the icon’s index in the icon set.

public int Index { get; set; }

Property Value

int

Type

Gets and sets the icon set type.

public IconSetType Type { get; set; }

Property Value

IconSetType

Methods

GetIconImageData(IconSetType, int)

Get the icon set data

public static byte[] GetIconImageData(IconSetType type, int index)

Parameters

type IconSetType

icon’s type

index int

icon’s index

Returns

byte[]

GetImageData(Cell)

Gets the image data with the setting of cell.

public byte[] GetImageData(Cell cell)

Parameters

cell Cell

The setting of cell.

Returns

byte[]

Returns the image data of icon.