public class PdfAnnotation extends PdfShape
Learn more:
| Modifier and Type | Field and Description |
|---|---|
static String |
NormalAppearanceKey |
| Modifier and Type | Method and Description |
|---|---|
int |
getAnnotationType()
Gets the type of this
. |
com.aspose.pdf.Annotation |
getAsposePdfAnnotation() |
double |
getHeight()
Gets the height of this
in points. |
com.aspose.pdf.XForm |
getOuterForm() |
PdfPage |
getPage()
Gets the parent page of this
. |
double |
getRotateAngle()
Gets the rotate angle of this
in degrees. |
double |
getWidth()
Gets the width of this
in points. |
double |
getX()
Gets the horizontal offset of this
from page left border in points. |
double |
getY()
Gets the vertical offset of this
from worksheet bottom border in points. |
extractImageAppearance, getFormattedTextFragments, getFormattedTextFragmentsForSearch, getImage, getImageForSearch, getText, getTextForSearch, setFoundWatermarkImage, setFoundWatermarkText, setImage, setTextgetPageNumberpublic static final String NormalAppearanceKey
public final int getAnnotationType()
PdfAnnotation.PdfAnnotation.public final com.aspose.pdf.Annotation getAsposePdfAnnotation()
public double getHeight()
PdfAnnotation in points.getHeight in interface ITwoDObjectgetHeight in class PdfShapePdfAnnotation in points.public com.aspose.pdf.XForm getOuterForm()
getOuterForm in class PdfShapepublic final PdfPage getPage()
PdfAnnotation.PdfAnnotation.public double getRotateAngle()
PdfAnnotation in degrees.getRotateAngle in interface IRotatableTwoDObjectgetRotateAngle in class PdfShapePdfAnnotation in degrees.public double getWidth()
PdfAnnotation in points.getWidth in interface ITwoDObjectgetWidth in class PdfShapePdfAnnotation in points.public double getX()
PdfAnnotation from page left border in points.getX in interface ITwoDObjectgetX in class PdfShapePdfAnnotation from page left border in points.public double getY()
PdfAnnotation from worksheet bottom border in points.getY in interface ITwoDObjectgetY in class PdfShapePdfAnnotation from worksheet bottom border in points.Copyright © 2026. All rights reserved.