ImagePlacement
Overview
ImagePlacement is a class in Aspose.Pdf FOSS for Java.
Describes the placement of an image on a PDF page.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
image | XImage | Read | Returns the placed image. |
matrix | Matrix | Read | Returns the CTM at the point of rendering. |
rectangle | Rectangle | Read | Returns the bounding rectangle of the image on the page (in page coordinates). |
page | Page | Read | Returns the page containing this image placement. |
resolution | double | Read | Returns the horizontal resolution in DPI. |
Methods
| Signature | Description |
|---|---|
ImagePlacement(image: XImage, matrix: Matrix, page: Page) | Creates an ImagePlacement. |
getImage() → XImage | Returns the placed image. |
getMatrix() → Matrix | Returns the CTM at the point of rendering. |
getRectangle() → Rectangle | Returns the bounding rectangle of the image on the page (in page coordinates). |
getPage() → Page | Returns the page containing this image placement. |
getResolution() → double | Returns the horizontal resolution in DPI. |