FormatConditionCollection

FormatConditionCollection

概要

FormatConditionCollection は Aspose.Cells の Rust 向け FOSS における struct です。

フォーマット条件オブジェクトのコレクションを表します。

この struct は Rust プログラムにおける FormatConditionCollection オブジェクト用に 11 個のメソッドを宣言しています。利用可能なメソッドは次のとおりです: add, add_area, add_condition, add_condition_with_details, count, get, get_cell_area, range_count, remove_area, remove_area_by_cells, remove_condition。Aspose.Cells の Rust 用 FOSS パッケージをインストールすれば、パブリックメンバーはすべての Rust アプリケーションからアクセス可能です。

メソッド

シグネチャ説明
count() → usize項目の数を取得します。
range_count() → usizeこの条件付き書式コレクションがカバーするセル範囲の数を取得します。
get(index: usize) → Option<FormatCondition<'_>>コレクションから項目を取得します。
add(area: CellArea, condition_type: FormatConditionType, operator_type: OperatorType, formula1: impl Into<String>, formula2: impl Into<String>) → Result<usize, CellsError>指定された項目を追加します。
add_condition(condition_type: FormatConditionType) → usizeアイテムを追加します。
add_condition_with_details(condition_type: FormatConditionType, operator_type: OperatorType, formula1: impl Into<String>, formula2: impl Into<String>) → usize項目を追加します。
add_area(area: CellArea) → Result<(), CellsError>項目を追加します。
get_cell_area(index: usize) → Result<CellArea, CellsError>関連付けられた値を取得します。
remove_area(index: usize) → Result<(), CellsError>項目を削除します。
remove_area_by_cells(start_row: i32, start_column: i32, total_rows: i32, total_columns: i32) → Result<(), CellsError>項目を削除します。
remove_condition(index: usize) → Result<(), CellsError>項目を削除します。

参照

 日本語