Document Solutions for Excel, Java Edition | Document Solutions
com.grapecity.documents.excel Package / IValidation Interface / add Method / add(ValidationType,ValidationAlertStyle,ValidationOperator,Object,Object) Method
Required ValidationType. The validation type.
Optional Object. The validation alert style.
Optional Object. The data validation operator.
Optional Object. The first part of the data validation equation.
Optional Object. The second part of the data validation whenOperator is Between or NotBetween (otherwise, this argument is ignored).
In This Topic
    add(ValidationType,ValidationAlertStyle,ValidationOperator,Object,Object) Method
    In This Topic
    Adds data validation to the specified range.
    Syntax

    Parameters

    type
    Required ValidationType. The validation type.
    alertStyle
    Optional Object. The validation alert style.
    validationOperator
    Optional Object. The data validation operator.
    formula1
    Optional Object. The first part of the data validation equation.
    formula2
    Optional Object. The second part of the data validation whenOperator is Between or NotBetween (otherwise, this argument is ignored).
    See Also