|
|||||||||
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.pdfstampcollection
public class pdfstampcollection
a collection of stamps that are applied to the page templates.
constructor summary | |
---|---|
pdfstampcollection()
creates a new stamp collection. |
method summary | |
---|---|
pdfpagetemplateelement |
add(float x,
float y,
float width,
float height)
creates a stamp element and adds it to the collection. |
int |
add(pdfpagetemplateelement template)
adds a stamp element to the collection. |
void |
clear()
cleares the collection. |
boolean |
contains(pdfpagetemplateelement template)
checks whether the stamp element exists in the collection. |
pdfpagetemplateelement |
get(int index)
gets a stamp element by its index. |
void |
insert(int index,
pdfpagetemplateelement template)
inserts a stamp element to the collection at the specified position. |
void |
remove(pdfpagetemplateelement template)
removes the stamp element from the collection. |
void |
removeat(int index)
removes a stamp element from the specified position in the collection. |
methods inherited from class com.spire.pdf.pdfcollection |
---|
getcount, getlist |
constructor detail |
---|
public pdfstampcollection()
method detail |
---|
public pdfpagetemplateelement get(int index)
public int add(pdfpagetemplateelement template)
template
- the stamp element.
public pdfpagetemplateelement add(float x, float y, float width, float height)
x
- x co-ordinate of the stamp.y
- y co-ordinate of the stamp.width
- width of the stamp.height
- height of the stamp.
public boolean contains(pdfpagetemplateelement template)
template
- stamp element.
public void insert(int index, pdfpagetemplateelement template)
index
- the index of the stamp in the collection.template
- the stamp element.public void remove(pdfpagetemplateelement template)
template
- the stamp element.public void removeat(int index)
index
- the index of the stamp in the collection.public void clear()
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |