DocumentPropertyCollection
DocumentPropertyCollection class
Base class for BuiltInDocumentPropertyCollection and CustomDocumentPropertyCollection collections.
Properties
| Name | Type | Description |
|---|---|---|
| Count | int | |
| Item (java.lang.String) | DocumentProperty | Returns a DocumentProperty object by the name of the property. Returns null if a property with the specified name is not |
| Item (int) | DocumentProperty | Returns a DocumentProperty object by index. |
Methods
| Name | Description |
|---|---|
| contains | Returns true if a property with the specified name exists in the collection. |
| indexOf | Gets the index of a property by name. |
| remove | Removes a property with the specified name from the collection. |
| removeAt | Removes a property at the specified index. |
| clear | |
| iterator | |
| get | Reserved for internal use. |
| add | Reserved 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.
| Parameter | Type | Description |
|---|---|---|
| name | String | The 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.
| Parameter | Type | Description |
|---|---|---|
| name | String | The 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.
| Parameter | Type | Description |
|---|---|---|
| name | String | The case-insensitive name of the property. |
removeAt(index)
Removes a property at the specified index.
| Parameter | Type | Description |
|---|---|---|
| index | int | The zero based index. |
clear()
iterator()
get(index)
Reserved for internal use.
add(value)
Reserved for internal use.