Validation
Validation
概述
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 ++应用程序.
方法
| Signature | 描述情况 |
|---|---|
GetAreas() → std::vector<CellArea> | 获取区域。. |
GetType() → ValidationType | 获取或设置类型。. |
SetType(value: ValidationType) | 设置类型值。. |
GetAlertStyle() → ValidationAlertType | 获取或设置警报样式。. |
SetAlertStyle(value: ValidationAlertType) | 设置警报样式值。. |
GetOperator() → OperatorType | 获取或设置运算符。. |
SetOperator(value: OperatorType) | 设置运算符的值。. |
GetFormula1() → std::string | 获取或设置 formula1。. |
SetFormula1(value: std::string) | 设置 formula1 值。. |
GetFormula2() → std::string | 获取或设置 formula2。. |
SetFormula2(value: std::string) | 设置 formula2 值。. |
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) | 删除指定物品.该区域. |