public class DiagramHeaderFooterPossibleWatermark extends PossibleWatermark
Represents possible watermark in a Visio document header/footer.
| Constructor and Description |
|---|
DiagramHeaderFooterPossibleWatermark(DiagramContent content,
int headerFooterType) |
| 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 |
remove() |
void |
setText(String value)
Sets the text of this
. |
getCollection, getFormattedTextFragments, getImageData, getImageInternally, getImageSize, getPageNumber, setCollection, setImageDatapublic DiagramHeaderFooterPossibleWatermark(DiagramContent content, int headerFooterType)
public double getHeight()
DiagramHeaderFooterPossibleWatermark in points.getHeight in class PossibleWatermarkpublic ContentPart getParent()
DiagramHeaderFooterPossibleWatermark.getParent in class PossibleWatermarkDiagramHeaderFooterPossibleWatermark.public double getRotateAngle()
DiagramHeaderFooterPossibleWatermark in degrees.getRotateAngle in class PossibleWatermarkpublic String getText()
DiagramHeaderFooterPossibleWatermark.getText in class PossibleWatermarkDiagramHeaderFooterPossibleWatermark.public int getUnitOfMeasurement()
UnitOfMeasurement
of this DiagramHeaderFooterPossibleWatermark.getUnitOfMeasurement in class PossibleWatermarkUnitOfMeasurement
of this DiagramHeaderFooterPossibleWatermark.public double getWidth()
DiagramHeaderFooterPossibleWatermark in points.getWidth in class PossibleWatermarkpublic double getX()
DiagramHeaderFooterPossibleWatermark
from page left border in points.getX in class PossibleWatermarkpublic double getY()
DiagramHeaderFooterPossibleWatermark
from page bottom border in points.getY in class PossibleWatermarkpublic void remove()
remove in class PossibleWatermarkpublic void setText(String value)
DiagramHeaderFooterPossibleWatermark.setText in class PossibleWatermarkvalue - The text of this DiagramHeaderFooterPossibleWatermark.Copyright © 2026. All rights reserved.