|
DynamicPDF by ceTe Software | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cete.dynamicpdf.PageElement
com.cete.dynamicpdf.merger.ImportedPageArea
public class ImportedPageArea
Represents the Imported Page Area class.
Licensing:
This class is a DynamicPDF Merger Professional Edition
feature. One of the following licenses is required for non-evaluation usage:
| 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 | |
|---|---|
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 |
|---|
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 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 ICoordinatevalue - the X coordinate of the page element.public float getY()
getY in interface ICoordinatepublic void setY(float value)
setY in interface ICoordinatevalue - the Y coordinate of the imported page area.public float getAngle()
public void setAngle(float value)
value - the angle of the imported page area.public float getScaleX()
public void setScaleX(float value)
value - the horizontal scale of the imported page area.public float getScaleY()
public void setScaleY(float value)
value - the vertical scale of the imported page area.public float getWidth()
getWidth in interface IAreapublic void setWidth(float value)
setWidth in interface IAreavalue - the width of the imported page area.public float getHeight()
getHeight in interface IAreapublic void setHeight(float value)
setHeight in interface IAreavalue - the height of the imported page area.public ImportedPageContents getContents()
ImportedPageContents object.
ImportedPageContents object.ImportedPageContents
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 | ||||||||