aspose.cells

Class ProtectedRangeCollection

Encapsulates a collection of ProtectedRange objects.

Property Getters/Setters Summary
functiongetCount()
functionget(index)
Gets the ProtectedRange element at the specified index.
 
Method Summary
functionadd(value)
Reserved for internal use.
functionadd(name, startRow, startColumn, endRow, endColumn)
Adds a ProtectedRange item to the collection.
functionclear()
functioncontains(value)
Reserved for internal use.
functionget(index)
Reserved for internal use.
functionindexOf(value)
Reserved for internal use.
functioniterator()
functionremoveAt(index)
 

    • Property Getters/Setters Detail

      • getCount : Number 

        function getCount()
        
      • get : ProtectedRange 

        function get(index)
        
        Gets the ProtectedRange element at the specified index.
        Parameters:
        index - The zero based index of the element.
        Returns:
        The element at the specified index.
    • Method Detail

      • add

        function 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: Number - Start row index of the range.
        startColumn: Number - Start column index of the range.
        endRow: Number - End row index of the range.
        endColumn: Number - End column index of the range.
        Returns:
        object index.
      • clear

        function clear()
      • removeAt

        function removeAt(index)
      • iterator

        function iterator()
      • get

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

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

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

        function indexOf(value)
        Reserved for internal use.