|
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.ImportedPageArea
Represents the Imported Page Area class.
| Constructor Summary | |
ImportedPageArea(ImportedPageContents contents,
float x,
float y)
Creates a new instance of ImportedPageArea. |
|
ImportedPageArea(ImportedPageContents contents,
float x,
float y,
float scale)
Creates a new instance of ImportedPageArea. |
|
ImportedPageArea(PdfPage pdfPage,
float x,
float y)
Creates a new instance of ImportedPageArea. |
|
ImportedPageArea(PdfPage pdfPage,
float x,
float y,
float scale)
Creates a new instance of ImportedPageArea. |
|
ImportedPageArea(java.lang.String filePath,
int pageNumber,
float x,
float y)
Creates a new instance of ImportedPageArea. |
|
ImportedPageArea(java.lang.String filePath,
int pageNumber,
float x,
float y,
float scale)
Creates a new instance of ImportedPageArea. |
|
| Method Summary | |
void |
draw(PageWriter writer)
Draws the image to the given PageWriter object. |
float |
getAngle()
Gets the angle of the imported page area. |
ImportedPageContents |
getContents()
Get the imported page area's ImportedPageContents object. |
float |
getHeight()
Gets the height of the imported page area. |
float |
getScaleX()
Gets the horizontal scale of the imported page area. |
float |
getScaleY()
Gets the vertical scale of the imported page area. |
float |
getWidth()
Gets the width of the imported page area. |
float |
getX()
Gets the X coordinate of the page element. |
float |
getY()
Gets the Y coordinate of the imported page area. |
void |
setAngle(float value)
Sets the angle of the imported page area. |
void |
setBounds(float maximumWidth,
float maximumHeight)
Scales the image to fit in the given box keeping the X and Y scale equal. |
void |
setHeight(float value)
Sets the height of the imported page area. |
void |
setScaleX(float value)
Sets the horizontal scale of the imported page area. |
void |
setScaleY(float value)
Sets the vertical scale of the imported page area. |
void |
setSize(float width,
float height)
Scales the image to fit the exact width and height given. |
void |
setWidth(float value)
Sets the width of the imported page area. |
void |
setX(float value)
Sets the X coordinate of the page element. |
void |
setY(float value)
Sets the Y coordinate of the imported page area. |
| Methods inherited from class com.cete.dynamicpdf.PageElement |
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 ImportedPageArea(java.lang.String filePath,
int pageNumber,
float x,
float y)
ImportedPageArea.
filePath - Physical file path of the PDF doument to import.pageNumber - Page number to import.x - X coordinate of the imported page area.y - Y coordinate of the imported page area.ImportedPageArea
public ImportedPageArea(java.lang.String filePath,
int pageNumber,
float x,
float y,
float scale)
ImportedPageArea.
filePath - Physical file path of the PDF document to import.pageNumber - Page number to import.x - X coordinate of the imported page area.y - Y coordinate of the imported page area.scale - The scale to use when rendering the imported page area.ImportedPageArea
public ImportedPageArea(PdfPage pdfPage,
float x,
float y)
ImportedPageArea.
pdfPage - PdfPage object containing the page.x - X coordinate of the imported page area.y - Y coordinate of the imported page area.ImportedPageArea,
PdfPage
public ImportedPageArea(PdfPage pdfPage,
float x,
float y,
float scale)
ImportedPageArea.
pdfPage - PdfPage object containing the page.x - X coordinate of the imported page area.y - Y coordinate of the imported page area.scale - The scale to use when rendering the imported page area.ImportedPageArea,
PdfPage
public ImportedPageArea(ImportedPageContents contents,
float x,
float y)
ImportedPageArea.
contents - ImportedPageContents object containing the page's contents.x - X coordinate of the imported page area.y - Y coordinate of the imported page area.ImportedPageArea,
ImportedPageContents
public ImportedPageArea(ImportedPageContents contents,
float x,
float y,
float scale)
ImportedPageArea.
contents - ImportedPageContents object containing the page's contents.x - X coordinate of the imported page area.y - Y coordinate of the imported page area.scale - The scale to use when rendering the imported page area.ImportedPageArea,
ImportedPageContents| Method Detail |
public float getX()
getX in interface ICoordinatepublic void setX(float value)
setX in interface ICoordinatepublic float getY()
getY in interface ICoordinatepublic void setY(float value)
setY in interface ICoordinatepublic float getAngle()
public void setAngle(float value)
public float getScaleX()
public void setScaleX(float value)
public float getScaleY()
public void setScaleY(float value)
public float getWidth()
getWidth in interface IAreapublic void setWidth(float value)
setWidth in interface IAreavalue - the float width of the area.public float getHeight()
getHeight in interface IAreapublic void setHeight(float value)
setHeight in interface IAreavalue - the float height of the area.public ImportedPageContents getContents()
ImportedPageContents object.
ImportedPageContentspublic void draw(PageWriter writer)
PageWriter object.
param writer PageWriter object to receive the image's output.
draw in class PageElementwriter - the PageWriter class to receive the page elements output.PageWriter
public void setBounds(float maximumWidth,
float maximumHeight)
maximumWidth - The maximum width.maximumHeight - The maximum height.
public void setSize(float width,
float height)
width - Width of image.height - Height of image.
|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||