Validation
Validation
Przegląd
Validation jest klasą w Aspose.Cells FOSS dla C++.
Reprezentuje walidację.
Ta klasa udostępnia 29 metod do pracy z obiektami Validation w programach C++. Dostępne metody obejmują: AddArea, GetAlertStyle, GetAreas, GetErrorMessage, GetErrorTitle, GetFormula1, GetFormula2, GetIgnoreBlank, GetInCellDropDown, GetInputMessage, GetInputTitle, GetOperator oraz 17 dodatkowych metod. Wszystkie publiczne członki są dostępne dla dowolnej aplikacji C++ po zainstalowaniu pakietu Aspose.Cells FOSS dla C++.
Metody
| Sygnatura | Opis |
|---|---|
GetAreas() → std::vector<CellArea> | Pobiera obszary. |
GetType() → ValidationType | Pobiera lub ustawia typ. |
SetType(value: ValidationType) | Ustawia wartość typu. |
GetAlertStyle() → ValidationAlertType | Pobiera lub ustawia styl alertu. |
SetAlertStyle(value: ValidationAlertType) | Ustawia wartość stylu alertu. |
GetOperator() → OperatorType | Pobiera lub ustawia operator. |
SetOperator(value: OperatorType) | Ustawia wartość operatora. |
GetFormula1() → std::string | Pobiera lub ustawia formula1. |
SetFormula1(value: std::string) | Ustawia wartość formula1. |
GetFormula2() → std::string | Pobiera lub ustawia formula2. |
SetFormula2(value: std::string) | Ustawia wartość formula2. |
GetIgnoreBlank() → bool | Pobiera lub ustawia wartość wskazującą, czy ignorować puste. |
SetIgnoreBlank(value: bool) | Ustawia wartość ignorowania pustych. |
GetInCellDropDown() → bool | Pobiera lub ustawia wartość wskazującą, czy w komórce jest lista rozwijana. |
SetInCellDropDown(value: bool) | Ustawia wartość listy rozwijanej w komórce. |
GetInputTitle() → std::string | Pobiera lub ustawia tytuł wejściowy. |
SetInputTitle(value: std::string) | Ustawia wartość tytułu wejściowego. |
GetInputMessage() → std::string | Pobiera lub ustawia wiadomość wejściową. |
SetInputMessage(value: std::string) | Ustawia wartość komunikatu wejściowego. |
GetErrorTitle() → std::string | Pobiera lub ustawia tytuł błędu. |
SetErrorTitle(value: std::string) | Ustawia wartość tytułu błędu. |
GetErrorMessage() → std::string | Pobiera lub ustawia komunikat o błędzie. |
SetErrorMessage(value: std::string) | Ustawia wartość komunikatu o błędzie. |
GetShowInput() → bool | Pobiera lub ustawia wartość wskazującą, czy wyświetlać input. |
SetShowInput(value: bool) | Ustawia wartość wyświetlania wejścia. |
GetShowError() → bool | Pobiera lub ustawia wartość wskazującą, czy wyświetlać błąd. |
SetShowError(value: bool) | Ustawia wartość wyświetlania błędu. |
AddArea(area: CellArea) | Dodaje określony element. Obszar. |
RemoveArea(area: CellArea) | Usuwa określony element. Obszar. |