public class PdfTextPossibleWatermark extends PossibleWatermark
Represents possible watermark in a pdf content text.
Modifier and Type | Method and Description |
---|---|
FormattedTextFragmentCollection |
getFormattedTextFragments()
Gets the collection of formatted text fragments of this
PdfTextPossibleWatermark . |
double |
getHeight()
Gets the height of this
PdfTextPossibleWatermark in points. |
ContentPart |
getParent()
Gets the parent of this
PdfTextPossibleWatermark . |
double |
getRotateAngle()
Gets the rotate angle of this
PdfTextPossibleWatermark in degrees. |
String |
getText()
Gets the text of this
PdfTextPossibleWatermark . |
int |
getUnitOfMeasurement()
Gets the unit of measurement of this
PdfTextPossibleWatermark . |
double |
getWidth()
Gets the width of this
PdfTextPossibleWatermark in points. |
double |
getX()
Gets the horizontal offset of this
PdfTextPossibleWatermark
from page left border in points. |
double |
getY()
Gets the vertical offset of this
PdfTextPossibleWatermark
from page bottom border in points. |
void |
setText(String value)
Sets the text of this
PdfTextPossibleWatermark . |
getImageData, setImageData
public ContentPart getParent()
Gets the parent of this PdfTextPossibleWatermark
.
getParent
in class PossibleWatermark
PdfTextPossibleWatermark
.public double getWidth()
Gets the width of this PdfTextPossibleWatermark
in points.
getWidth
in class PossibleWatermark
PdfTextPossibleWatermark
in points.public double getHeight()
Gets the height of this PdfTextPossibleWatermark
in points.
getHeight
in class PossibleWatermark
PdfTextPossibleWatermark
in points.public double getX()
Gets the horizontal offset of this PdfTextPossibleWatermark
from page left border in points.
getX
in class PossibleWatermark
PdfTextPossibleWatermark
.public double getY()
Gets the vertical offset of this PdfTextPossibleWatermark
from page bottom border in points.
getY
in class PossibleWatermark
PdfTextPossibleWatermark
.public double getRotateAngle()
Gets the rotate angle of this PdfTextPossibleWatermark
in degrees.
getRotateAngle
in class PossibleWatermark
public String getText()
Gets the text of this PdfTextPossibleWatermark
.
getText
in class PossibleWatermark
PdfTextPossibleWatermark
.public void setText(String value)
Sets the text of this PdfTextPossibleWatermark
.
setText
in class PossibleWatermark
value
- The text of this PdfTextPossibleWatermark
.public FormattedTextFragmentCollection getFormattedTextFragments()
Gets the collection of formatted text fragments of this PdfTextPossibleWatermark
.
getFormattedTextFragments
in class PossibleWatermark
PdfTextPossibleWatermark
.public int getUnitOfMeasurement()
Gets the unit of measurement of this PdfTextPossibleWatermark
.
getUnitOfMeasurement
in class PossibleWatermark
PdfTextPossibleWatermark
.Copyright © 2020. All rights reserved.