|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.spire.pdf.widget.PdfPageCollection
public class PdfPageCollection
Implements routines for manipulation with loaded pages.
| Constructor Summary | |
|---|---|
PdfPageCollection(PdfDocumentBase document)
|
|
| Method Summary | |
|---|---|
PdfPageBase |
add()
Creates a new page and adds it to the collection. |
PdfPageBase |
add(java.awt.geom.Dimension2D size)
Creates a new page of the specified size and adds it to the collection. |
PdfPageBase |
add(java.awt.geom.Dimension2D size,
PdfMargins margins)
Creates a new page of the specified size and with the specified margins and adds it to the collection. |
PdfPageBase |
add(java.awt.geom.Dimension2D size,
PdfMargins margins,
PdfPageRotateAngle rotation)
Creates a new page of the specified size and with the specified margins and adds it to the collection. |
PdfPageBase |
add(java.awt.geom.Dimension2D size,
PdfMargins margins,
PdfPageRotateAngle rotation,
int location)
Creates a new page of the specified size and with the specified margins and adds it to the collection. |
PdfPageBase |
add(java.awt.geom.Dimension2D size,
PdfMargins margins,
PdfPageRotateAngle rotation,
PdfPageOrientation orientation)
Creates a new page of the specified size and with the specified margins and adds it to the collection. |
PdfPageBase |
get(int index)
Gets the at the specified index. |
int |
getCount()
Gets the count. |
int |
indexOf(PdfPageBase page)
Gets the index of the page in the document. |
PdfPageBase |
insert(int index)
Creates a new page and inserts it at the specified index. |
PdfPageBase |
insert(int index,
java.awt.geom.Dimension2D size)
Creates a new page and inserts it at the specified index. |
PdfPageBase |
insert(int index,
java.awt.geom.Dimension2D size,
PdfMargins margins)
Creates a new page and inserts it at the specified index. |
PdfPageBase |
insert(int index,
java.awt.geom.Dimension2D size,
PdfMargins margins,
PdfPageRotateAngle rotation)
Creates a new page and inserts it at the specified index. |
PdfPageBase |
insert(int index,
java.awt.geom.Dimension2D size,
PdfMargins margins,
PdfPageRotateAngle rotation,
PdfPageOrientation orientation,
boolean existsPage)
Creates a new page and inserts it at the specified index. |
void |
reArrange(int[] orderArray)
ReArrange the Pages in the Loaded Document. |
void |
remove(PdfPageBase page)
Removes the specified page. |
void |
removeAt(int index)
Removes the page at the given specified index. |
| Constructor Detail |
|---|
public PdfPageCollection(PdfDocumentBase document)
| Method Detail |
|---|
public PdfPageBase get(int index)
public int getCount()
public PdfPageBase add()
public PdfPageBase add(java.awt.geom.Dimension2D size)
size - The size of the new page.
public PdfPageBase add(java.awt.geom.Dimension2D size,
PdfMargins margins)
size - The size of the new page.margins - The margins of the new page.
public PdfPageBase add(java.awt.geom.Dimension2D size,
PdfMargins margins,
PdfPageRotateAngle rotation)
size - The size of the new page.margins - The margins of the new page.rotation - The rotation of the new page.
public PdfPageBase add(java.awt.geom.Dimension2D size,
PdfMargins margins,
PdfPageRotateAngle rotation,
int location)
size - The size of the new page.margins - The margins of the new page.rotation - The rotation of the new page.location - he location of the new page.
public PdfPageBase add(java.awt.geom.Dimension2D size,
PdfMargins margins,
PdfPageRotateAngle rotation,
PdfPageOrientation orientation)
size - The size of the page.margins - The margins of the page.rotation - The rotation of the new page.orientation - The orientation of the new page.
public PdfPageBase insert(int index)
index - The index.
public PdfPageBase insert(int index,
java.awt.geom.Dimension2D size)
index - The index.size - The size of the page.
public PdfPageBase insert(int index,
java.awt.geom.Dimension2D size,
PdfMargins margins)
index - The index.size - The size of the page.margins - The margins of the page.
public PdfPageBase insert(int index,
java.awt.geom.Dimension2D size,
PdfMargins margins,
PdfPageRotateAngle rotation)
index - The index.size - The size of the page.margins - The margins of the page.rotation - The rotation of the new page.
public void removeAt(int index)
index - Index of the page.public void remove(PdfPageBase page)
page - The page to be remove.public void reArrange(int[] orderArray)
orderArray - The page sequence to arrange the pages.
public PdfPageBase insert(int index,
java.awt.geom.Dimension2D size,
PdfMargins margins,
PdfPageRotateAngle rotation,
PdfPageOrientation orientation,
boolean existsPage)
index - The index.size - The size of the page.margins - The margins of the page.rotation - The rotation of the new page.orientation - The orientation of the new page.
public int indexOf(PdfPageBase page)
page - The current page.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||