public class DrawImageOptions extends Object
PdfDocument.| Constructor and Description |
|---|
DrawImageOptions(int x,
int y,
int desired_width,
int desired_height)
Draw image options
|
DrawImageOptions(int x,
int y,
int desired_width,
int desired_height,
PageSelection pageSelection)
Draw image options
|
| Modifier and Type | Method and Description |
|---|---|
int |
getHeight()
Gets height (Pixel).
|
PageSelection |
getPageSelection()
Gets page selection.
|
int |
getWidth()
Gets width (Pixel).
|
int |
getX()
Gets X coordinate.
|
int |
getY()
Gets Y coordinate.
|
void |
setHeight(int height)
Sets height (Pixel).
|
void |
setPageSelection(PageSelection pageIndexes)
Sets page selection.
|
void |
setWidth(int width)
Sets width (Pixel).
|
void |
setX(int x)
Sets X coordinate.
|
void |
setY(int y)
Sets Y coordinate.
|
public DrawImageOptions(int x,
int y,
int desired_width,
int desired_height)
x - X coordinate in pxy - Y coordinate in pxdesired_width - Desired widthdesired_height - Desired Heightpublic DrawImageOptions(int x,
int y,
int desired_width,
int desired_height,
PageSelection pageSelection)
x - X coordinate in pxy - Y coordinate in pxdesired_width - Desired widthdesired_height - Desired HeightpageSelection - PageSelection to which the image will be drawn. Default is PageSelection.FirstPage().public PageSelection getPageSelection()
public void setPageSelection(PageSelection pageIndexes)
pageIndexes - the page indexespublic int getX()
public void setX(int x)
x - the xpublic int getY()
public void setY(int y)
y - the ypublic int getWidth()
public void setWidth(int width)
width - the widthpublic int getHeight()
public void setHeight(int height)
height - the heightCopyright © 2022–2023 Iron Software. All rights reserved.