|
|||||||||
| prev class next class | frames no frames | ||||||||
| summary: nested | field | constr | method | detail: field | constr | method | ||||||||
java.lang.objectcom.spire.pdf.pdfcollection
com.spire.pdf.annotations.pdfannotationcollection
public class pdfannotationcollection
represents collection of objects.
| constructor summary | |
|---|---|
pdfannotationcollection()
initializes a new instance of the class. |
|
pdfannotationcollection(pdfnewpage page)
creates new annotation collection for the specified page. |
|
| method summary | |
|---|---|
int |
add(pdfannotation annotation)
adds a new annotation to collection. |
void |
clear()
cleares the collection. |
boolean |
contains(pdfannotation annotation)
searches the collection for the specified annotation. |
pdfannotation |
get(int index)
gets the object at the specified position. |
|
getannotations()
gets the annotations array. |
int |
indexof(pdfannotation annotation)
searches the collection for the specified annotation. |
void |
remove(pdfannotation annot)
removes the element from the collection. |
void |
removeat(int index)
removes the element at the specified field. |
| methods inherited from class com.spire.pdf.pdfcollection |
|---|
getcount, getlist |
| constructor detail |
|---|
public pdfannotationcollection()
public pdfannotationcollection(pdfnewpage page)
page - page which collection is created for.| method detail |
|---|
public pdfannotation get(int index)
index - the index value of the annotation in the collection.
public getannotations()
public int add(pdfannotation annotation)
annotation - the new annotation to be added to collection.
public void clear()
public boolean contains(pdfannotation annotation)
annotation - the annotation to search for.
public int indexof(pdfannotation annotation)
annotation - the annotation to search.
public void removeat(int index)
index - the index of the element to remove.public void remove(pdfannotation annot)
annot - the element to remove.
|
|||||||||
| prev class next class | frames no frames | ||||||||
| summary: nested | field | constr | method | detail: field | constr | method | ||||||||