DocumentPropertyCollection

DocumentPropertyCollection class

Base class for BuiltInDocumentPropertyCollection and CustomDocumentPropertyCollection collections.

Properties

NameTypeDescription
Countint
Item (java.lang.String)DocumentPropertyReturns a DocumentProperty object by the name of the property. Returns null if a property with the specified name is not
Item (int)DocumentPropertyReturns a DocumentProperty object by index.

Methods

NameDescription
containsReturns true if a property with the specified name exists in the collection.
indexOfGets the index of a property by name.
removeRemoves a property with the specified name from the collection.
removeAtRemoves a property at the specified index.
clear
iterator
getReserved for internal use.
addReserved for internal use.

DocumentPropertyCollection.Count property

Type: int

DocumentPropertyCollection.Item (java.lang.String) property

Returns a DocumentProperty object by the name of the property. Returns null if a property with the specified name is not found.

Type: DocumentProperty

DocumentPropertyCollection.Item (int) property

Returns a DocumentProperty object by index.

Type: DocumentProperty

contains(name) (1 of 2)

Returns true if a property with the specified name exists in the collection.

ParameterTypeDescription
nameStringThe case-insensitive name of the property.

Returns: True if the property exists in the collection; false otherwise.


contains(value) (2 of 2)

Reserved for internal use.

indexOf(name) (1 of 2)

Gets the index of a property by name.

ParameterTypeDescription
nameStringThe case-insensitive name of the property.

Returns: The zero based index. Negative value if not found.


indexOf(value) (2 of 2)

Reserved for internal use.

remove(name)

Removes a property with the specified name from the collection.

ParameterTypeDescription
nameStringThe case-insensitive name of the property.

removeAt(index)

Removes a property at the specified index.

ParameterTypeDescription
indexintThe zero based index.

clear()

iterator()

get(index)

Reserved for internal use.

add(value)

Reserved for internal use.