asposecells.api

Class ProtectedRangeCollection

Encapsulates a collection of ProtectedRange objects.

Property Getters/Setters Summary
methodgetCount()
methodget(index)
Gets the ProtectedRange element at the specified index.
 
Method Summary
methodadd(value)
Reserved for internal use.
methodadd(name, startRow, startColumn, endRow, endColumn)
Adds a ProtectedRange item to the collection.
methodclear()
methodcontains(value)
Reserved for internal use.
methodget(index)
Reserved for internal use.
methodindexOf(value)
Reserved for internal use.
methoditerator()
methodremoveAt(index)
 

    • Property Getters/Setters Detail

      • getCount : int 

        int getCount()
        
    • Method Detail

      • add

        int add(name, startRow, startColumn, endRow, endColumn)
        Adds a ProtectedRange item to the collection.
        Parameters:
        name: String - Range title. This is used as a descriptor, not as a named range definition.
        startRow: int - Start row index of the range.
        startColumn: int - Start column index of the range.
        endRow: int - End row index of the range.
        endColumn: int - End column index of the range.
        Returns:
        object index.
      • clear

         clear()
      • removeAt

         removeAt(index)
      • iterator

        Iterator iterator()
      • get

        Object get(index)
        Reserved for internal use.
      • contains

        boolean contains(value)
        Reserved for internal use.
      • add

        int add(value)
        Reserved for internal use.
      • indexOf

        int indexOf(value)
        Reserved for internal use.