FormatConditionCollection

FormatConditionCollection

Overview

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

FormatConditionCollection.Add adds a conditional format for the specified area with type, operator and formulas.

Description

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

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

Properties

NameTypeAccessDescription
CountintReadได้จํานวนสภาพรวมในคอลเลกชั่น
RangeCountintReadได้จํานวนพื้นที่เซลล์เฉพาะในชุด

Methods

SignatureDescription
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)ลบเงื่อนไขที่อัตรานิยมที่ให้ไว้

See Also

 ภาษาไทย