Class ConditionalFormattingIcon
Class ConditionalFormattingIcon
Namespace: Aspose.Cells
Assembly: Aspose.Cells.dll (25.2.0)
表示条件格式规则的自定义图标。
public class ConditionalFormattingIcon
继承
object ← ConditionalFormattingIcon
继承成员
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
属性
ImageData
获取图标集数据。
public byte[] ImageData { get; }
属性值
byte[]
Index
获取和设置图标在图标集中的索引。
public int Index { get; set; }
属性值
Type
获取和设置图标集类型。
public IconSetType Type { get; set; }
属性值
方法
GetIconImageData(IconSetType, int)
获取图标集数据
public static byte[] GetIconImageData(IconSetType type, int index)
参数
type
IconSetType
图标的类型
index
int
图标的索引
返回
byte[]
GetImageData(Cell)
获取带有单元格设置的图像数据。
public byte[] GetImageData(Cell cell)
参数
cell
Cell
单元格的设置。
返回
byte[]
返回图标的图像数据。