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