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
PossibleWatermark . |
double |
getHeight()
Gets the height of this
PossibleWatermark . |
byte[] |
getImageData()
Gets the image of this
PossibleWatermark . |
abstract DocumentPart |
getParent()
Gets the parent of this
PossibleWatermark . |
double |
getRotateAngle()
Gets the rotate angle of this
PossibleWatermark in degrees. |
String |
getText()
Gets the text of this
PossibleWatermark . |
int |
getUnitOfMeasurement()
Gets the unit of measurement of this
PossibleWatermark . |
double |
getWidth()
Gets the width of this
PossibleWatermark . |
double |
getX()
Gets the x-coordinate of this
PossibleWatermark . |
double |
getY()
Gets the y-coordinate of this
PossibleWatermark . |
void |
setImageData(byte[] value)
Sets the image of this
PossibleWatermark . |
void |
setText(String value)
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
.Copyright © 2018. All rights reserved.