|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cete.dynamicpdf.PageElement com.cete.dynamicpdf.merger.ImportedPageData
public class ImportedPageData
This class can be used to pull a single selected page from an existing PDF document. You can scale it or rotate it and you can place it on an another page.
Licensing:
This class is a DynamicPDF Merger Professional Edition
feature. One of the following licenses is required for non-evaluation usage:
Constructor Summary | |
---|---|
ImportedPageData(ImportedPageContents contents)
Initializes a new instance of the ImportedPageData class. |
|
ImportedPageData(ImportedPageContents contents,
float xOffset,
float yOffset)
Initializes a new instance of the ImportedPageData class. |
|
ImportedPageData(ImportedPageContents contents,
float xOffset,
float yOffset,
float scale)
Initializes a new instance of the ImportedPageData class. |
|
ImportedPageData(PdfPage pdfPage)
Initializes a new instance of the ImportedPageData class. |
|
ImportedPageData(PdfPage pdfPage,
float xOffset,
float yOffset)
Initializes a new instance of the ImportedPageData class. |
|
ImportedPageData(PdfPage pdfPage,
float xOffset,
float yOffset,
float scale)
Initializes a new instance of the ImportedPageData class. |
|
ImportedPageData(java.lang.String filePath,
int pageNumber)
Initializes a new instance of the ImportedPageData class. |
|
ImportedPageData(java.lang.String filePath,
int pageNumber,
float xOffset,
float yOffset)
Initializes a new instance of the ImportedPageData class. |
|
ImportedPageData(java.lang.String filePath,
int pageNumber,
float xOffset,
float yOffset,
float scale)
Initializes a new instance of the ImportedPageData class. |
Method Summary | |
---|---|
float |
getAngle()
Gets the angle of the page in degrees. |
ImportedPageContents |
getContents()
Gets the imported page data's ImportedPageContents object. |
float |
getHeight()
Gets the height of the page. |
float |
getScaleX()
Gets the horizontal scale of the page. |
float |
getScaleY()
Gets the vertical scale of the page. |
float |
getWidth()
Gets the width of the page. |
float |
getXOffset()
Gets the X offset of the page. |
float |
getYOffset()
Gets the Y offset of the page. |
void |
setAngle(float angle)
Sets the angle of the page in degrees. |
void |
setHeight(float height)
Sets the height of the page. |
void |
setScaleX(float scaleX)
Sets the horizontal scale of the page. |
void |
setScaleY(float scaleY)
Sets the vertical scale of the page. |
void |
setWidth(float width)
Sets the width of the page. |
void |
setXOffset(float xOffset)
Sets the X offset of the page. |
void |
setYOffset(float yOffset)
Sets the Y offset of the page. |
float |
ZInternal_getCellX()
Gets the height of the imported page area. |
float |
ZInternal_getCellY()
Gets the height of the imported page area. |
void |
ZInternal_setCellX(float value)
Sets the width of the imported page area. |
void |
ZInternal_setCellY(float value)
Sets the width of the imported page area. |
Methods inherited from class com.cete.dynamicpdf.PageElement |
---|
draw, getRequiredLicenseLevel, getStrID, setRequiredLicenseLevel, setStrID |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImportedPageData(java.lang.String filePath, int pageNumber)
ImportedPageData
class.
filePath
- Physical file path of the PDF document to import.pageNumber
- Page number to import.ImportedPageData
public ImportedPageData(java.lang.String filePath, int pageNumber, float xOffset, float yOffset)
ImportedPageData
class.
filePath
- Physical file path of the PDF document to import.pageNumber
- Page number to import.xOffset
- X offset of the placement on the page.yOffset
- Y offset of the placement on the page.ImportedPageData
public ImportedPageData(java.lang.String filePath, int pageNumber, float xOffset, float yOffset, float scale)
ImportedPageData
class.
filePath
- Physical file path of the PDF document to import.pageNumber
- Page number to import.xOffset
- X offset of the placement on the page.yOffset
- Y offset of the placement on the pagescale
- Scale of the imported page.ImportedPageData
public ImportedPageData(PdfPage pdfPage)
ImportedPageData
class.
pdfPage
- PdfPage
object to import.ImportedPageData
,
PdfPage
public ImportedPageData(PdfPage pdfPage, float xOffset, float yOffset)
ImportedPageData
class.
pdfPage
- PdfPage
object to import.xOffset
- X offset of the placement on the page.yOffset
- Y offset of the placement on the page.ImportedPageData
,
PdfPage
public ImportedPageData(PdfPage pdfPage, float xOffset, float yOffset, float scale)
ImportedPageData
class.
pdfPage
- PdfPage
object to import.xOffset
- X offset of the placement on the page.yOffset
- Y offset of the placement on the page.scale
- Scale of the imported page.ImportedPageData
,
PdfPage
public ImportedPageData(ImportedPageContents contents)
ImportedPageData
class.
contents
- ImportedPageContents
object containing
the pages contents.ImportedPageData
,
ImportedPageContents
public ImportedPageData(ImportedPageContents contents, float xOffset, float yOffset)
ImportedPageData
class.
contents
- ImportedPageContents
object containing
the pages contents.xOffset
- X offset of the placement on the page.yOffset
- Y offset of the placement on the page.ImportedPageData
,
ImportedPageContents
public ImportedPageData(ImportedPageContents contents, float xOffset, float yOffset, float scale)
ImportedPageData
class.
contents
- ImportedPageContents
object containing
the pages contents.xOffset
- X offset of the placement on the page.yOffset
- Y offset of the placement on the page.scale
- Scale of the imported page.ImportedPageData
,
ImportedPageContents
Method Detail |
---|
public void setXOffset(float xOffset)
xOffset
- The X offset of the page.public float getXOffset()
public void setYOffset(float yOffset)
yOffset
- The Y offset of the page.public float getYOffset()
public float ZInternal_getCellX()
public void ZInternal_setCellX(float value)
value
- the cellX of the imported page area.public float ZInternal_getCellY()
public void ZInternal_setCellY(float value)
value
- the cellY of the imported page area.public void setScaleX(float scaleX)
scaleX
- The horizontal scale of the page.public float getScaleX()
public void setScaleY(float scaleY)
scaleY
- The vertical scale of the page.public float getScaleY()
public void setWidth(float width)
width
- The width of the page.public float getWidth()
public void setHeight(float height)
height
- The height of the page.public float getHeight()
public void setAngle(float angle)
angle
- The angle of the page in degrees.public float getAngle()
public ImportedPageContents getContents()
ImportedPageContents
object.
ImportedPageContents
object.ImportedPageContents
|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |