com.aspose.slides
Class DocumentProperties

java.lang.Object
  extended by com.aspose.slides.DocumentProperties

public class DocumentProperties
extends java.lang.Object

Represents a collection of custom document properties.


Method Summary
 boolean contains(java.lang.String name)
          Determines whether the collection contains a property with the specified name.
 java.lang.Object get(java.lang.String name)
          Returns the property associated with a specific name.
 java.lang.String getPropertyName(int index)
          Gets a property name at the specified index of the collection.
 int size()
          Returns the number of custom properties actually contained in the collection.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

size

public int size()
Returns the number of custom properties actually contained in the collection.

Returns:
the number of custom properties.

get

public java.lang.Object get(java.lang.String name)
Returns the property associated with a specific name.

Parameters:
name - the name of a property.
Returns:
Returned value can be int, long, string, bool and DateTime.

contains

public boolean contains(java.lang.String name)
Determines whether the collection contains a property with the specified name.

Parameters:
name - The name of a property to locate in the collection.
Returns:
True if the collection contains a property with the specified name.

getPropertyName

public java.lang.String getPropertyName(int index)
Gets a property name at the specified index of the collection.

Parameters:
index - The zero-based index of a property to get
Returns:
Property name at the specified index of the collection.