FormatConditionCollection

FormatConditionCollection

Overview

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

แสดงให้เห็นถึงการรวบรวมของวัตถุรูปแบบเงื่อนไข.

หมวดนี้ให้ 15 วิธีในการทํางานกับวัตถุ FormatConditionCollection ในโปรแกรม C++. วิธีการที่ใช้ได้แก่: Add, AddArea, AddCondition, AreasOverlap, CompareAreas, GetCellArea, GetCount, GetRangeCount, RemoveArea, RemoveCondition, SortAreas. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน C++ ใดก็ได้หลังจากติดตั้งแพ็คเกจ Aspose.Cells FOSS for C++.

Methods

SignatureDescription
GetCount()intได้เลขของสินค้า.
GetRangeCount()intได้รับการนับระยะทาง.
Add(area: CellArea, type: FormatConditionType, operatorType: OperatorType, formula1: std::string_view, formula2: std::string_view)intบวกไอเทมที่กําหนด ภาค ประเภท แบบตัวประกอบ สูตร 1 สุทธ 2 อินเด็กซ์ฐานศูนย์ของไอเตมเพิ่ม.
AddCondition(type: FormatConditionType)intเพิ่มเงื่อนไขที่กําหนด ประเภท อินเด็กซ์ฐานศูนย์ของรายการที่เพิ่มขึ้น.
AddCondition(type: FormatConditionType, operatorType: OperatorType, formula1: std::string_view, formula2: std::string_view)intเพิ่มเงื่อนไขที่กําหนด. ประเภท. แบบผู้ประกอบการ. สูตร 1. สุทธสูตร 2. อินเด็กซ์ฐานศูนย์ของรายการที่เพิ่มขึ้น.
AddArea(area: CellArea)บวกพื้นที่ที่กําหนดไว้.
GetCellArea(index: int)CellAreaได้พื้นที่เซลล์ ที่อัตราการแสดงตัวที่กําหนด อัคซีนฐานศูนย์ พื้นที่ของเซิล.
RemoveArea(index: int)ลบพื้นที่ในอัตราสัญลักษณ์ที่กําหนด อัตถุฐานศูนย์.
RemoveArea(startRow: int, startColumn: int, totalRows: int, totalColumns: int)ลบพื้นที่ในตําแหน่งที่กําหนด แถวเริ่มต้น สูงจุดเริ่มแรก จํานวนทั้งหมดของแถว จํากัดจํานวนรวมของคอลัมน์.
RemoveArea(area: CellArea)ลบพื้นที่ที่กําหนด ออกจากเซลล์.
RemoveCondition(index: int)ลบเงื่อนไขที่อัตราการแสดงตัว ที่กําหนดไว้ อัตถุฐานศูนย์.
RemoveCondition(owner: std::vector<Core::ConditionalFormattingModel>, collection: Core::ConditionalFormattingModel, model: Core::FormatConditionModel)ลบเงื่อนไขที่กําหนด กลุ่มของเจ้าของ หมู่ ของรุ่นที่จะลบ.
AreasOverlap(left: CellArea, right: CellArea)boolตัดสินใจว่าพื้นที่ที่กําหนดอยู่ตรงกันหรือไม่ พื้นที่ซ้าย พື້ນທີ່ขวา true ถ้าพื้น ที่ผสมต่อกัน หากไม่เป็นอย่างนั้น false.
SortAreas(areas: std::vector<CellArea>)การจัดเรียงพื้นที่ที่กําหนดไว้ ที่ต้องจัดเลื่อน.
CompareAreas(left: CellArea, right: CellArea)intเปรียบเทียบพื้นที่สองสําหรับการจัดลําดับ. พื้นที่ซ้าย และพื้นທີ່ขวา ค่าลบถ้าทางซ້າຍน้อยกว่าด้านขวามือ, 0 ถ้าเท่ากับ, บวก หากใหญ่ขึ้น.

See Also

 ภาษาไทย