@Deprecated public class DiagramShape extends ShapeSearchAdapter implements IRotatableTwoDObject
Represents a drawing shape in a Visio document.
Modifier and Type | Method and Description |
---|---|
FormattedTextFragmentCollection |
getFormattedTextFragments()
Deprecated.
Gets the collection of formatted text fragments of this
DiagramShape . |
double |
getHeight()
Deprecated.
Gets the height of this
DiagramShape in points. |
DiagramHyperlinkCollection |
getHyperlinks()
Deprecated.
Gets the collection of hyperlinks attached to this
DiagramShape . |
long |
getId()
Deprecated.
Gets the identifier of this
DiagramShape . |
DiagramWatermarkableImage |
getImage()
Deprecated.
Gets the image of this
DiagramShape . |
String |
getName()
Deprecated.
Gets the name of this
DiagramShape . |
DiagramPage |
getPage()
Deprecated.
Gets the parent page of this
DiagramPage . |
double |
getRotateAngle()
Deprecated.
Gets the rotate angle of this
DiagramShape in degrees. |
String |
getText()
Deprecated.
Gets the text of this
DiagramShape . |
double |
getWidth()
Deprecated.
Gets the width of this
DiagramShape in points. |
double |
getX()
Deprecated.
Gets the horizontal offset of this
DiagramShape from page left border in points. |
double |
getY()
Deprecated.
Gets the vertical offset of this
DiagramShape from page bottom border in points. |
void |
setImage(DiagramWatermarkableImage value)
Deprecated.
Sets the image of this
DiagramShape . |
void |
setText(String value)
Deprecated.
Sets the text of this
DiagramShape . |
public final DiagramPage getPage()
Gets the parent page of this DiagramPage
.
DiagramPage
.public final double getWidth()
Gets the width of this DiagramShape
in points.
getWidth
in interface ITwoDObject
DiagramShape
in points.public final double getHeight()
Gets the height of this DiagramShape
in points.
getHeight
in interface ITwoDObject
DiagramShape
in points.public final double getX()
Gets the horizontal offset of this DiagramShape
from page left border in points.
getX
in interface ITwoDObject
DiagramShape
.public final double getY()
Gets the vertical offset of this DiagramShape
from page bottom border in points.
getY
in interface ITwoDObject
DiagramShape
.public final double getRotateAngle()
Gets the rotate angle of this DiagramShape
in degrees.
getRotateAngle
in interface IRotatableTwoDObject
DiagramShape
in degrees.public final String getText()
Gets the text of this DiagramShape
.
DiagramShape
.public final void setText(String value)
Sets the text of this DiagramShape
.
value
- The text of this DiagramShape
.public final FormattedTextFragmentCollection getFormattedTextFragments()
Gets the collection of formatted text fragments of this DiagramShape
.
DiagramShape
.public final DiagramWatermarkableImage getImage()
Gets the image of this DiagramShape
.
DiagramShape
.
Returns null if the shape has no image.public final void setImage(DiagramWatermarkableImage value)
Sets the image of this DiagramShape
.
value
- The image of this DiagramShape
.
Returns null if the shape has no image.public final long getId()
Gets the identifier of this DiagramShape
.
DiagramShape
.public final String getName()
Gets the name of this DiagramShape
.
DiagramShape
.public final DiagramHyperlinkCollection getHyperlinks()
Gets the collection of hyperlinks attached to this DiagramShape
.
DiagramShape
.