aspose.cells

Class DocumentPropertyCollection

Property Getters/Setters Summary
functiongetCount()
functionget(index)
Returns a DocumentProperty object by index.
functionget(name)
Returns a DocumentProperty object by the name of the property.
 
Method Summary
functionadd(value)
Reserved for internal use.
functionclear()
functioncontains(value)
Reserved for internal use.
functioncontains(name)
Returns true if a property with the specified name exists in the collection.
functionget(index)
Reserved for internal use.
functionindexOf(value)
Reserved for internal use.
functionindexOf(name)
Gets the index of a property by name.
functioniterator()
functionremove(name)
Removes a property with the specified name from the collection.
functionremoveAt(index)
Removes a property at the specified index.
 

    • Property Getters/Setters Detail

      • getCount : Number 

        function getCount()
        
      • get : DocumentProperty 

        function get(name)
        
        Returns a DocumentProperty object by the name of the property.

        Returns null if a property with the specified name is not found.

        Parameters:
        name - The case-insensitive name of the property to retrieve.
    • Method Detail

      • contains

        function contains(name)
        Returns true if a property with the specified name exists in the collection.
        Parameters:
        name: String - The case-insensitive name of the property.
        Returns:
        True if the property exists in the collection; false otherwise.
      • indexOf

        function indexOf(name)
        Gets the index of a property by name.
        Parameters:
        name: String - The case-insensitive name of the property.
        Returns:
        The zero based index. Negative value if not found.
      • remove

        function remove(name)
        Removes a property with the specified name from the collection.
        Parameters:
        name: String - The case-insensitive name of the property.
      • removeAt

        function removeAt(index)
        Removes a property at the specified index.
        Parameters:
        index: Number - The zero based index.
      • clear

        function clear()
      • 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.