FormatConditionCollection

FormatConditionCollection

ภาพรวม

FormatConditionCollection เป็น struct ใน Aspose.Cells FOSS สำหรับ Rust.

แสดงคอลเลกชันของอ็อบเจ็กต์เงื่อนไขรูปแบบ.

struct นี้ประกาศ 11 เมธอดสำหรับอ็อบเจ็กต์ FormatConditionCollection ในโปรแกรม Rust. เมธอดที่มีรวมถึง: add, add_area, add_condition, add_condition_with_details, count, get, get_cell_area, range_count, remove_area, remove_area_by_cells, remove_condition. สมาชิกสาธารณะสามารถเข้าถึงได้จากแอปพลิเคชัน Rust ใดก็ได้หลังจากติดตั้งแพคเกจ Aspose.Cells 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>ลบรายการหนึ่ง.

ดูเพิ่มเติม

 ภาษาไทย