public class PdfArtifact extends PdfShape
Lean more
| Modifier and Type | Method and Description |
|---|---|
int |
getArtifactSubtype()
Gets the subtype of this
. |
int |
getArtifactType()
Gets the type of this
. |
com.aspose.pdf.Artifact |
getAsposePdfArtifact() |
double |
getHeight()
Gets the height of this
in points. |
double |
getOpacity()
Gets the opacity of this
. |
com.aspose.pdf.XForm |
getOuterForm() |
PdfPage |
getPage()
Gets the parent page of this
. |
double |
getRotateAngle()
Gets the rotate angle of this
in degrees. |
String |
getText()
Gets the text of this
. |
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 page bottom border in points. |
void |
setText(String value)
Sets the text of this
. |
extractImageAppearance, getFormattedTextFragments, getFormattedTextFragmentsForSearch, getImage, getImageForSearch, getTextForSearch, setFoundWatermarkImage, setFoundWatermarkText, setImagegetPageNumberpublic final int getArtifactSubtype()
PdfArtifact.PdfArtifact.public final int getArtifactType()
PdfArtifact.PdfArtifact.public final com.aspose.pdf.Artifact getAsposePdfArtifact()
public double getHeight()
PdfArtifact in points.getHeight in interface ITwoDObjectgetHeight in class PdfShapePdfArtifact in points.public final double getOpacity()
PdfArtifact.
Possible values are in range [0, 1].
PdfArtifact.public com.aspose.pdf.XForm getOuterForm()
getOuterForm in class PdfShapepublic final PdfPage getPage()
PdfArtifact.PdfArtifact.public double getRotateAngle()
PdfArtifact in degrees.getRotateAngle in interface IRotatableTwoDObjectgetRotateAngle in class PdfShapePdfArtifact in degrees.public String getText()
PdfArtifact.getText in class PdfShapePdfArtifact.public double getWidth()
PdfArtifact in points.getWidth in interface ITwoDObjectgetWidth in class PdfShapePdfArtifact in points.public double getX()
PdfArtifact from page left border in points.getX in interface ITwoDObjectgetX in class PdfShapePdfArtifact.public double getY()
PdfArtifact from page bottom border in points.getY in interface ITwoDObjectgetY in class PdfShapePdfArtifact.public void setText(String value)
PdfArtifact.setText in class PdfShapevalue - The text of this PdfArtifact.Copyright © 2026. All rights reserved.