FormatConditionCollection

FormatConditionCollection

概要

FormatConditionCollection は Aspose.Cells の NET 用クラスです。

FormatConditionCollection.Add は、指定された領域に対してタイプ、演算子、数式を用いた条件付き書式を追加します。

説明

FormatConditionCollection は、.NET 用の Aspose.Cells FOSS ライブラリに含まれるクラスで、プログラムから利用できる 8 つのメソッドと 2 つのプロパティを提供します。

このクラスは、Count プロパティ(コレクション内の条件の総数を取得)と、RangeCount プロパティ(コレクション内の異なるセル領域の数を取得)も提供します。

プロパティ

名前型アクセス説明
Countint読み取りコレクション内の条件の総数を取得します
RangeCountint読み取りコレクション内の個別のセル領域の数を取得します

メソッド

シグネチャ説明
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)指定されたインデックスの条件を削除します

参照

 日本語