Home  Products  Purchase  Downloads  Demos  Forums  Blogs  Wiki  API  Corporate

com.aspose.powerpoint
Class Paragraphs

java.lang.Object
  extended by com.aspose.powerpoint.Paragraphs

public final class Paragraphs
extends java.lang.Object

Represents the collection of a paragraphs.


Method Summary
 void add(int index, Paragraph value)
          Adds the paragraph into the collection at the specified index.
 int add(Paragraph value)
          Adds the paragraph to the end of this collection.
 void clear()
          Removes all elements from the collection.
 Paragraph get(int index)
          Returns the element at the specified index.
 void remove(int index)
          Removes the element at the specified index from the collection.
 int size()
          Returns the number of elements in this 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 elements in this collection.

Returns:
The number of elements in this collection.

get

public Paragraph get(int index)
Returns the element at the specified index.

Parameters:
index - index of element to return.
Returns:
The element at the specified index.

add

public int add(Paragraph value)
Adds the paragraph to the end of this collection.

Parameters:
value - the paragraph to be added to the end of this collection.
Returns:
The index at which the paragraph has been added.

add

public void add(int index,
                Paragraph value)
Adds the paragraph into the collection at the specified index.

Parameters:
index - the zero-based index at which paragraph should be added.
value - the paragraph to add.

clear

public void clear()
Removes all elements from the collection.


remove

public void remove(int index)
Removes the element at the specified index from the collection.

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