public class DiagramHeaderFooterPossibleWatermark extends PossibleWatermark
Represents possible watermark in a Visio document header/footer.
Modifier and Type | Method and Description |
---|---|
double |
getHeight()
Gets the height of this
in points. |
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
of this . |
double |
getWidth()
Gets the width of this
in points. |
double |
getX()
Gets the horizontal offset of this
from page left border in points. |
double |
getY()
Gets the vertical offset of this
from page bottom border in points. |
void |
setText(String value)
Sets the text of this
. |
getFormattedTextFragments, getImageData, setImageData
public ContentPart getParent()
DiagramHeaderFooterPossibleWatermark
.getParent
in class PossibleWatermark
DiagramHeaderFooterPossibleWatermark
.public double getWidth()
DiagramHeaderFooterPossibleWatermark
in points.getWidth
in class PossibleWatermark
public double getHeight()
DiagramHeaderFooterPossibleWatermark
in points.getHeight
in class PossibleWatermark
public double getX()
DiagramHeaderFooterPossibleWatermark
from page left border in points.getX
in class PossibleWatermark
public double getY()
DiagramHeaderFooterPossibleWatermark
from page bottom border in points.getY
in class PossibleWatermark
public double getRotateAngle()
DiagramHeaderFooterPossibleWatermark
in degrees.getRotateAngle
in class PossibleWatermark
public String getText()
DiagramHeaderFooterPossibleWatermark
.getText
in class PossibleWatermark
DiagramHeaderFooterPossibleWatermark
.public void setText(String value)
DiagramHeaderFooterPossibleWatermark
.setText
in class PossibleWatermark
value
- The text of this DiagramHeaderFooterPossibleWatermark
.public int getUnitOfMeasurement()
UnitOfMeasurement
of this DiagramHeaderFooterPossibleWatermark
.getUnitOfMeasurement
in class PossibleWatermark
UnitOfMeasurement
of this DiagramHeaderFooterPossibleWatermark
.