public class DiagramCommentPossibleWatermark extends PossibleWatermark
Represents possible watermark in a Visio document comment.
| Constructor and Description |
|---|
DiagramCommentPossibleWatermark(com.aspose.diagram.Annotation annotation,
com.aspose.diagram.AnnotationCollection annotationCollection,
DiagramPage page) |
| 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 DiagramCommentPossibleWatermark(com.aspose.diagram.Annotation annotation,
com.aspose.diagram.AnnotationCollection annotationCollection,
DiagramPage page)
public double getHeight()
DiagramCommentPossibleWatermark in points.getHeight in class PossibleWatermarkpublic ContentPart getParent()
DiagramCommentPossibleWatermark.getParent in class PossibleWatermarkDiagramCommentPossibleWatermark.public double getRotateAngle()
DiagramCommentPossibleWatermark in degrees.getRotateAngle in class PossibleWatermarkpublic String getText()
DiagramCommentPossibleWatermark.getText in class PossibleWatermarkDiagramCommentPossibleWatermark.public int getUnitOfMeasurement()
UnitOfMeasurement
of this DiagramCommentPossibleWatermark.getUnitOfMeasurement in class PossibleWatermarkUnitOfMeasurement
of this DiagramCommentPossibleWatermark.public double getWidth()
DiagramCommentPossibleWatermark in points.getWidth in class PossibleWatermarkpublic double getX()
DiagramCommentPossibleWatermark
from page left border in points.getX in class PossibleWatermarkDiagramCommentPossibleWatermark.public double getY()
DiagramCommentPossibleWatermark
from page bottom border in points.getY in class PossibleWatermarkDiagramCommentPossibleWatermark.public void remove()
remove in class PossibleWatermarkpublic void setText(String value)
DiagramCommentPossibleWatermark.setText in class PossibleWatermarkvalue - The text of this DiagramCommentPossibleWatermark.Copyright © 2026. All rights reserved.