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