PdfXObject
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.watermark.search.ShapeSearchAdapter, com.groupdocs.watermark.contents.PdfShape
public abstract class PdfXObject extends PdfShape
Represents an XObject in a pdf document.
Learn more:
| Method | Description |
|---|---|
| getPage() | Gets the parent page of this [PdfXObject](../../com.groupdocs.watermark.contents/pdfxobject). |
| getX() | Gets the horizontal offset of this [PdfXObject](../../com.groupdocs.watermark.contents/pdfxobject) from page left border in points. |
| getY() | Gets the vertical offset of this [PdfXObject](../../com.groupdocs.watermark.contents/pdfxobject) from page bottom border in points. |
| getWidth() | Gets the width of this [PdfXObject](../../com.groupdocs.watermark.contents/pdfxobject) in points. |
| getHeight() | Gets the height of this [PdfXObject](../../com.groupdocs.watermark.contents/pdfxobject) in points. |
| getRotateAngle() | Gets the rotate angle of this [PdfXObject](../../com.groupdocs.watermark.contents/pdfxobject) in degrees. |
| getMatrix() |
public final PdfPage getPage()
Gets the parent page of this [PdfXObject](../../com.groupdocs.watermark.contents/pdfxobject).
Returns:
PdfPage - The parent page of this [PdfXObject](../../com.groupdocs.watermark.contents/pdfxobject).
public double getX()
Gets the horizontal offset of this [PdfXObject](../../com.groupdocs.watermark.contents/pdfxobject) from page left border in points.
Returns:
double - The x-coordinate of this [PdfXObject](../../com.groupdocs.watermark.contents/pdfxobject).
public double getY()
Gets the vertical offset of this [PdfXObject](../../com.groupdocs.watermark.contents/pdfxobject) from page bottom border in points.
Returns:
double - The y-coordinate of this [PdfXObject](../../com.groupdocs.watermark.contents/pdfxobject).
public double getWidth()
Gets the width of this [PdfXObject](../../com.groupdocs.watermark.contents/pdfxobject) in points.
Returns:
double - The width of this [PdfXObject](../../com.groupdocs.watermark.contents/pdfxobject) in points.
public double getHeight()
Gets the height of this [PdfXObject](../../com.groupdocs.watermark.contents/pdfxobject) in points.
Returns:
double - The height of this [PdfXObject](../../com.groupdocs.watermark.contents/pdfxobject) in points.
public double getRotateAngle()
Gets the rotate angle of this [PdfXObject](../../com.groupdocs.watermark.contents/pdfxobject) in degrees.
Returns:
double - The rotate angle of this [PdfXObject](../../com.groupdocs.watermark.contents/pdfxobject) in degrees.
public final Matrix getMatrix()
Returns: com.aspose.pdf.Matrix
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.