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

SygnaturaOpis
GetAreas() → std::vector<CellArea>Pobiera obszary.
GetType() → ValidationTypePobiera lub ustawia typ.
SetType(value: ValidationType)Ustawia wartość typu.
GetAlertStyle() → ValidationAlertTypePobiera lub ustawia styl alertu.
SetAlertStyle(value: ValidationAlertType)Ustawia wartość stylu alertu.
GetOperator() → OperatorTypePobiera lub ustawia operator.
SetOperator(value: OperatorType)Ustawia wartość operatora.
GetFormula1() → std::stringPobiera lub ustawia formula1.
SetFormula1(value: std::string)Ustawia wartość formula1.
GetFormula2() → std::stringPobiera lub ustawia formula2.
SetFormula2(value: std::string)Ustawia wartość formula2.
GetIgnoreBlank() → boolPobiera lub ustawia wartość wskazującą, czy ignorować puste.
SetIgnoreBlank(value: bool)Ustawia wartość ignorowania pustych.
GetInCellDropDown() → boolPobiera lub ustawia wartość wskazującą, czy w komórce jest lista rozwijana.
SetInCellDropDown(value: bool)Ustawia wartość listy rozwijanej w komórce.
GetInputTitle() → std::stringPobiera lub ustawia tytuł wejściowy.
SetInputTitle(value: std::string)Ustawia wartość tytułu wejściowego.
GetInputMessage() → std::stringPobiera lub ustawia wiadomość wejściową.
SetInputMessage(value: std::string)Ustawia wartość komunikatu wejściowego.
GetErrorTitle() → std::stringPobiera lub ustawia tytuł błędu.
SetErrorTitle(value: std::string)Ustawia wartość tytułu błędu.
GetErrorMessage() → std::stringPobiera lub ustawia komunikat o błędzie.
SetErrorMessage(value: std::string)Ustawia wartość komunikatu o błędzie.
GetShowInput() → boolPobiera lub ustawia wartość wskazującą, czy wyświetlać input.
SetShowInput(value: bool)Ustawia wartość wyświetlania wejścia.
GetShowError() → boolPobiera 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.

Zobacz także

 Polski