FormatConditionCollection

FormatConditionCollection

概述

FormatConditionCollection 是 NET 的 Aspose.Cells 中的一个类.

FormatConditionCollection.Add 添加了指定区域的条件格式,包含类型,操作符和公式.

描述情况

FormatConditionCollection 是一个在 .NET 的 Aspose.Cells FOSS 库中的类,它暴露了 8 种方法和 2 个属性用于编程使用.

课程还提供了 Count 集合中的条件的总数), RangeCount 特性 (得到集合中不同细胞区域的数量).

属性

名称:类型Access描述情况
Countint阅读获取集合中条件的总数
RangeCountint阅读获取集合中不同单元格区域的数量

方法

Signature描述情况
Add(area: CellArea, type: FormatConditionType, operatorType: OperatorType, formula1: string, formula2: string)添加指定区域的条件格式,包含类型,操作符和公式.
AddCondition(type: FormatConditionType)使用默认运算符和空公式添加指定类型的新条件
AddCondition(type: FormatConditionType, operatorType: OperatorType, formula1: string, formula2: string)
AddArea(area: CellArea)将指定的 CellArea 添加到集合范围列表中.
GetCellArea(index: int)在给定的索引中返回 CellArea
RemoveArea(index: int)删除指定的零基索引的单元格面积.
RemoveArea(startRow: int, startColumn: int, totalRows: int, totalColumns: int)
RemoveCondition(index: int)在给定的索引中删除条件

查看更多

 中文