public abstract class PossibleWatermark extends Object
Represents possible watermark found in a document.
Modifier and Type | Method and Description |
---|---|
FormattedTextFragmentCollection |
getFormattedTextFragments()
Gets the collection of formatted text fragments of this
. |
double |
getHeight()
Gets the height of this
. |
byte[] |
getImageData()
Gets or sets the image of this
. |
abstract 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 unit of measurement
of this . |
double |
getWidth()
Gets the width of this
. |
double |
getX()
Gets the x-coordinate of this
. |
double |
getY()
Gets the y-coordinate of this
. |
void |
setImageData(byte[] value) |
void |
setText(String value)
Sets the text of this
. |
public abstract ContentPart getParent()
PossibleWatermark
.PossibleWatermark
.public double getWidth()
PossibleWatermark
.PossibleWatermark
.public double getHeight()
PossibleWatermark
.PossibleWatermark
.public double getX()
PossibleWatermark
.PossibleWatermark
.public double getY()
PossibleWatermark
.PossibleWatermark
.public double getRotateAngle()
PossibleWatermark
in degrees.PossibleWatermark
.public String getText()
PossibleWatermark
.PossibleWatermark
.public void setText(String value)
PossibleWatermark
.value
- The text of this PossibleWatermark
.public FormattedTextFragmentCollection getFormattedTextFragments()
PossibleWatermark
.PossibleWatermark
.public final byte[] getImageData()
PossibleWatermark
.PossibleWatermark
or null if the watermark has no image.public final void setImageData(byte[] value)
public int getUnitOfMeasurement()
UnitOfMeasurement
of this PossibleWatermark
.UnitOfMeasurement
of this PossibleWatermark
.