public class PdfTextPossibleWatermark extends PossibleWatermark
Represents possible watermark in a pdf document text.
Modifier and Type | Method and Description |
---|---|
FormattedTextFragmentCollection |
getFormattedTextFragments()
Gets the collection of formatted text fragments of this
. |
double |
getHeight()
Gets the height of this
in points. |
ContentPart |
getParent()
Gets the parent of this
. |
double |
getRotateAngle()
Gets the rotate angle of this
in degrees. |
String |
getText()
Gets the text of this
. |
int |
getUnitOfMeasurement()
Gets the
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
. |
getImageData, setImageData
public ContentPart getParent()
PdfTextPossibleWatermark
.getParent
in class PossibleWatermark
PdfTextPossibleWatermark
.public double getWidth()
PdfTextPossibleWatermark
in points.getWidth
in class PossibleWatermark
PdfTextPossibleWatermark
in points.public double getHeight()
PdfTextPossibleWatermark
in points.getHeight
in class PossibleWatermark
PdfTextPossibleWatermark
in points.public double getX()
PdfTextPossibleWatermark
from page left border in points.getX
in class PossibleWatermark
PdfTextPossibleWatermark
.public double getY()
PdfTextPossibleWatermark
from page bottom border in points.getY
in class PossibleWatermark
PdfTextPossibleWatermark
.public double getRotateAngle()
PdfTextPossibleWatermark
in degrees.getRotateAngle
in class PossibleWatermark
public String getText()
PdfTextPossibleWatermark
.getText
in class PossibleWatermark
PdfTextPossibleWatermark
.public void setText(String value)
PdfTextPossibleWatermark
.setText
in class PossibleWatermark
value
- The text of this PdfTextPossibleWatermark
.public FormattedTextFragmentCollection getFormattedTextFragments()
PdfTextPossibleWatermark
.getFormattedTextFragments
in class PossibleWatermark
PdfTextPossibleWatermark
.public int getUnitOfMeasurement()
UnitOfMeasurement
of this PdfTextPossibleWatermark
.getUnitOfMeasurement
in class PossibleWatermark
UnitOfMeasurement
of this PdfTextPossibleWatermark
.