ValidationCollection

ValidationCollection

Overview

ValidationCollection 是 C++ 的 FOSS 中的 Aspose.Cells 类.

表示验证对象的集合.

本类提供了10种方法,用于在C++程序中使用ValidationCollection对象. 有的方法包括: Add, AddAreaToValidation, AreasOverlap, CompareAreas, GetCount, GetValidationInCell, RemoveACell, RemoveArea, RemoveAreaFromValidation, SortAreas. 在安装了Aspose.Cells FOSS for C++ 包后,所有公众成员都可以访问任何C ++应用程序.

Methods

SignatureDescription
GetCount()int得到了物品的数量.
Add(area: CellArea)int添加指定项目的区域,增加的项目零指数.
GetValidationInCell(row: int, column: int)std::optional<Validation>获取细胞中的验证.基于零的行索引.根据零的大列索数.如果没有验收,则获得验值或空格.
RemoveACell(row: int, column: int)删除指定项.零基础行索引.0基础列索数.
RemoveArea(cellArea: CellArea)删除指定物品,细胞区域.
AddAreaToValidation(owner: std::vector<Core::ValidationModel>, validation: Core::ValidationModel, area: CellArea)添加指定区域验证. 所有者验收模型集合. 验值模型.
RemoveAreaFromValidation(owner: std::vector<Core::ValidationModel>, validation: Core::ValidationModel, area: CellArea)删除了指定区域的验证. 拥有者收集验收模型. 正确模式.
AreasOverlap(left: CellArea, right: CellArea)bool确定指定区域是否重叠.左边的区域.右侧的地区.如果区间重覆,则是真;否则,是假.
SortAreas(areas: std::vector<CellArea>)排序所需区域.
CompareAreas(left: CellArea, right: CellArea)int两种区域进行分类.左边的区域,右侧的地区.如果左面小于右边,则负值,如果等于零,若大是正值.

See Also

 中文