FormatConditionCollection
Overview
FormatConditionCollection เป็นคลาสใน Aspose.Cells FOSS สําหรับ Java.
แสดงให้เห็นถึงการจัดรูปแบบใน Excel.
หมวดนี้ให้ 9 วิธีในการทํางานกับวัตถุ FormatConditionCollection ในโปรแกรม Java. วิธีการที่ใช้ได้แก่: add, addArea, addCondition, get, getCellArea, getCount, getRangeCount, removeArea, removeCondition. สมาชิกที่ส่งออกทั้งหมดสามารถเข้าถึงการใช้งาน Java ใดก็ได้หลังจากติดตั้งแพ็คเกจ Aspose.Cells FOSS for Java. คุณสมบัติ: count, rangeCount.
Description
FormatConditionCollection เป็นคลาสในห้องสมุด Aspose.Cells FOSS สําหรับ Java ที่เปิดเผย 11 วิธีและ 2 คุณลักษณะสําหรับการใช้งานโปรแกรม.
ความสามารถหลักรวมถึง: เพิ่มพื้นที่; ลบพื้นฐาน; ยกเลิกเงื่อนไข การปฏิบัติงานเหล่านี้ทําให้ผู้พัฒนา สามารถบูรณาการการทํางานของ formattconditioncollection ได้โดยตรงกับแอปพลิเคชั่น Java.
กลุ่มนี้ยังให้บริการที่ count อสังหาริมทรัพย์ (คืนการนับ) rangeCount property (คืนการนับระยะ).
Properties
| Name | Type | Access | Description |
|---|---|---|---|
count | int | Read | ค่าที่ให้กลับมา. |
rangeCount | int | Read | การนับระยะทางกลับคืน. |
Methods
| Signature | Description |
|---|---|
getCount() → int | ค่าที่ให้กลับมา. |
getRangeCount() → int | การนับระยะทางกลับคืน. |
get(index: int) → FormatCondition | ส่งสินค้าที่ต้องการกลับ. |
add(area: CellArea, type: FormatConditionType, operatorType: OperatorType, formula1: String, formula2: String) → int | เพิ่มรายการใหม่เข้ากับคอลเลกชั่นปัจจุบัน. |
addCondition(type: FormatConditionType) → int | เพิ่มความแข็งแรง. |
addCondition(type: FormatConditionType, operatorType: OperatorType, formula1: String, formula2: String) → int | เพิ่มความแข็งแรง. |
addArea(area: CellArea) | เพิ่มพื้นที่. |
getCellArea(index: int) → CellArea | กระบวนการได้รับพื้นที่เซลล์. |
removeArea(index: int) | ยกพื้นที่. |
removeArea(startRow: int, startColumn: int, totalRows: int, totalColumns: int) | ยกพื้นที่. |
removeCondition(index: int) | ยกเลิกอาการ. |