| 
 | |||||||||
| 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 | ||||||||