Validation
Validation
Overview
Validation 是 C++ 的 FOSS 中的 Aspose.Cells 类.
代表验证.
本类提供29种方法,用于在C++程序中使用验证对象. 有的方法包括: AddArea, GetAlertStyle, GetAreas, GetErrorMessage, GetErrorTitle, GetFormula1, GetFormula2, GetIgnoreBlank, GetInCellDropDown, GetInputMessage, GetInputTitle, GetOperator,其他17种方法. 在安装了Aspose.Cells FOSS for C++ 包后,所有公众成员都可以访问任何C ++应用程序.
Methods
| Signature | Description |
|---|---|
GetAreas() → std::vector<CellArea> | 得到了这些区域. |
GetType() → ValidationType | 得到或设置类型. |
SetType(value: ValidationType) | 设置类型值. |
GetAlertStyle() → ValidationAlertType | 得到或设置警报方式. |
SetAlertStyle(value: ValidationAlertType) | 设置警报风格值. |
GetOperator() → OperatorType | 得到或设置操作符. |
SetOperator(value: OperatorType) | 设置运算器值. |
GetFormula1() → std::string | 得到或设置公式1. |
SetFormula1(value: std::string) | 设置公式1的值. |
GetFormula2() → std::string | 得到或设置公式2. |
SetFormula2(value: std::string) | 设置公式2的值. |
GetIgnoreBlank() → bool | 获取或设置一个值,表示是否忽略空白. |
SetIgnoreBlank(value: bool) | 设置无视空白值. |
GetInCellDropDown() → bool | 获取或设置一个值,表示是否在细胞下降. |
SetInCellDropDown(value: bool) | 设置了进细胞的下拉值. |
GetInputTitle() → std::string | 获取或设置输入标题. |
SetInputTitle(value: std::string) | 设置输入标题值. |
GetInputMessage() → std::string | 获取或设置输入消息. |
SetInputMessage(value: std::string) | 设置输入消息值. |
GetErrorTitle() → std::string | 获取或设置错误标题. |
SetErrorTitle(value: std::string) | 设置错误标题值. |
GetErrorMessage() → std::string | 获取或设置错误消息. |
SetErrorMessage(value: std::string) | 设置错误消息值. |
GetShowInput() → bool | 获取或设置一个值,表示是否显示输入. |
SetShowInput(value: bool) | 设置显示输入值. |
GetShowError() → bool | 获取或设置一个值,表示是否显示错误. |
SetShowError(value: bool) | 设置显示错误值. |
AddArea(area: CellArea) | 添加指定项目的区域. |
RemoveArea(area: CellArea) | 删除指定物品.该区域. |