asposecells.api

Class ErrorCheckOption

Error check setting applied on certain ranges.

Method Summary
methodaddRange(ca)
Adds one influenced range by this setting.
methodgetCountOfRange()
Gets the count of ranges that influenced by this setting.
methodgetRange(index)
Gets the influenced range of this setting by given index.
methodisErrorCheck(errorCheckType)
Checks whether given error type will be checked.
methodremoveRange(index)
Removes one range by given index.
methodsetErrorCheck(errorCheckType, isCheck)
Sets whether given error type will be checked.
 

    • Method Detail

      • isErrorCheck

        boolean isErrorCheck(errorCheckType)
        Checks whether given error type will be checked.
        Parameters:
        errorCheckType: int - A ErrorCheckType value. error type can be checked
        Returns:
        return true if given error type will be checked(green triangle will be shown for cell if the check failed).
      • setErrorCheck

         setErrorCheck(errorCheckType, isCheck)
        Sets whether given error type will be checked.
        Parameters:
        errorCheckType: int - A ErrorCheckType value. error type can be checked.
        isCheck: boolean - true if given error type needs to be checked(green triangle will be shown for cell if the check failed).
      • getCountOfRange

        int getCountOfRange()
        Gets the count of ranges that influenced by this setting.
        Returns:
        the count of ranges that influenced by this setting.
      • addRange

        int addRange(ca)
        Adds one influenced range by this setting.
        Parameters:
        ca: CellArea - the range to be added.
        Returns:
        the index of the added range in the range list of this setting.
      • getRange

        CellArea getRange(index)
        Gets the influenced range of this setting by given index.
        Parameters:
        index: int - the index of range
        Returns:
        return influenced range at given index.
      • removeRange

         removeRange(index)
        Removes one range by given index.
        Parameters:
        index: int - the index of the range to be removed.