FormatConditionCollection

FormatConditionCollection

ภาพรวม

FormatConditionCollection เป็นคลาสใน Aspose.Cells สําหรับ NET.

FormatConditionCollection.Add เพิ่มรูปแบบที่จํากัดสําหรับพื้นที่ที่กําหนดด้วยชนิด, ตัวประกอบและสูตร.

คําอธิบาย

FormatConditionCollection เป็นคลาสในห้องสมุด Aspose.Cells FOSS สําหรับ .NET ที่เปิดเผย 8 วิธีและ 2 คุณลักษณะสําหรับการใช้งานโปรแกรม.

กลุ่มนี้ยังให้บริการที่ Count property (ได้จํานวนทั้งหมดของเงื่อนไขในชุด) RangeCount property (ได้จํานวนของพื้นที่เซลล์เฉพาะในคอลเลกชั่น).

คุณสมบัติ

ชื่อประเภท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 ที่ระบุเข้าในรายการ range ของคอลเลกชั่น
GetCellArea(index: int)การคืน CellArea ที่อินเด็กซ์ที่ให้ไว้
RemoveArea(index: int)ลบพื้นที่เซลล์ในอัตราฐานศูนย์ที่กําหนด
RemoveArea(startRow: int, startColumn: int, totalRows: int, totalColumns: int)
RemoveCondition(index: int)ลบเงื่อนไขที่อัตรานิยมที่ให้ไว้

ดูเช่นกัน

 ภาษาไทย