com.aspose.slides
Class Comments

java.lang.Object
  extended by com.aspose.slides.Comments
Direct Known Subclasses:
CommentCollection

Deprecated.

@Deprecated
public class Comments
extends java.lang.Object

Represents a collection of slide comments.


Method Summary
 Comment addComment(CommentAuthor author, java.lang.String initials, java.lang.String text, java.util.Date time, java.awt.Point anchor)
          Deprecated.  
 void clear()
          Deprecated.  Removes all coomments from the slide.
 Comment get_Item(int index)
          Deprecated.  Returns the slide comment at the specified index.
 int getCount()
          Deprecated.  Returns the number of slide comments actually contained in the collection.
 com.aspose.ms.System.Collections.IEnumerator<Comment> iterator()
          Deprecated.  Returns an enumerator for the entire collection.
 void remove(Comment comment)
          Deprecated.  Removes the first occurrence of the specified comment in a collection.
 void removeAt(int index)
          Deprecated.  Removes the element at the specified index in a collection.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCount

public int getCount()
Deprecated. 

Returns the number of slide comments actually contained in the collection. Read-only int.


get_Item

public Comment get_Item(int index)
Deprecated. 

Returns the slide comment at the specified index.


addComment

public Comment addComment(CommentAuthor author,
                          java.lang.String initials,
                          java.lang.String text,
                          java.util.Date time,
                          java.awt.Point anchor)
Deprecated. 

removeAt

public void removeAt(int index)
Deprecated. 

Removes the element at the specified index in a collection.

Parameters:
index - The zero-based index of the element to remove.

remove

public void remove(Comment comment)
Deprecated. 

Removes the first occurrence of the specified comment in a collection.

Parameters:
comment - The comment to remove from a collection.

clear

public void clear()
Deprecated. 

Removes all coomments from the slide.


iterator

public com.aspose.ms.System.Collections.IEnumerator<Comment> iterator()
Deprecated. 

Returns an enumerator for the entire collection.

Returns:
An IEnumerator for the entire collection.