iparagraphcollection-ag凯发旗舰厅
com.spire.doc.interfaces
interface iparagraphcollection
- all superinterfaces:
- icollectionbase, idocumentobjectcollection, java.lang.iterable
- all known implementing classes:
- paragraphcollection
public interface iparagraphcollection
- extends idocumentobjectcollection
represents a collection of iparagraph
method summary |
int |
add(iparagraph paragraph)
adds a paragraph to the end of collection. |
paragraph |
get(int index)
gets the iparagraph at the specified index. |
int |
indexof(iparagraph paragraph)
returns the zero-based index of the specified paragraph. |
void |
insert(int index,
iparagraph paragraph)
inserts a paragraph into collection at the specified index. |
void |
removeat(int index)
removes the paragraph at the specified index from the collection. |
get
paragraph get(int index)
- gets the
iparagraph
at the specified index.
- specified by:
get
in interface idocumentobjectcollection
- parameters:
index
- the index
- returns:
- the paragraph
add
int add(iparagraph paragraph)
- adds a paragraph to the end of collection.
- parameters:
paragraph
- the paragraph.
- returns:
- the index of the paragraph
insert
void insert(int index,
iparagraph paragraph)
- inserts a paragraph into collection at the specified index.
- parameters:
index
- the index.paragraph
- the paragraph.
indexof
int indexof(iparagraph paragraph)
- returns the zero-based index of the specified paragraph.
- parameters:
paragraph
- the paragraph.
- returns:
- the index
removeat
void removeat(int index)
- removes the paragraph at the specified index from the collection.
- parameters:
index
- the index.