public class PresentationShape extends PresentationBaseShape implements IRotatableTwoDObject
Represents a drawing shape in a PowerPoint document.
| Modifier and Type | Method and Description |
|---|---|
FormattedTextFragmentCollection |
getFormattedTextFragments()
Gets the collection of formatted text fragments of this
. |
FormattedTextFragmentCollection |
getFormattedTextFragmentsForSearch() |
PresentationWatermarkableImage |
getImage()
Gets the image of this
. |
WatermarkableImage |
getImageForSearch() |
double |
getRotateAngle()
Gets the rotate angle of this
in degrees. |
int |
getShapeType()
Gets the shape geometry preset type.
|
String |
getText()
Gets the text of this
. |
String |
getTextForSearch() |
void |
setFoundWatermarkImage(byte[] imageData) |
void |
setFoundWatermarkText(String value) |
void |
setImage(PresentationWatermarkableImage value)
Sets the image of this
. |
void |
setRotateAngle(double value)
Sets the rotate angle of this
in degrees. |
void |
setText(String value)
Sets the text of this
. |
getAlternativeText, getHeight, getHyperlink, getId, getImageFillFormat, getName, getPresentation, getWidth, getX, getY, getZOrderPosition, setAlternativeText, setHeight, setHyperlink, setWidth, setX, setYgetPageNumberclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetHeight, getWidth, getX, getYpublic final FormattedTextFragmentCollection getFormattedTextFragments()
PresentationShape.PresentationShape.public FormattedTextFragmentCollection getFormattedTextFragmentsForSearch()
getFormattedTextFragmentsForSearch in class ShapeSearchAdapterpublic final PresentationWatermarkableImage getImage()
PresentationShape.PresentationShape or null if the shape has no image.public WatermarkableImage getImageForSearch()
getImageForSearch in class ShapeSearchAdapterpublic final double getRotateAngle()
PresentationShape in degrees.getRotateAngle in interface IRotatableTwoDObjectPresentationShape in degrees.public final int getShapeType()
Gets the shape geometry preset type.
public final String getText()
PresentationShape.PresentationShape.public String getTextForSearch()
getTextForSearch in class ShapeSearchAdapterpublic void setFoundWatermarkImage(byte[] imageData)
setFoundWatermarkImage in class ShapeSearchAdapterpublic void setFoundWatermarkText(String value)
setFoundWatermarkText in class ShapeSearchAdapterpublic final void setImage(PresentationWatermarkableImage value)
PresentationShape.value - The image of this PresentationShape or null if the image should be removed.public final void setRotateAngle(double value)
PresentationShape in degrees.value - The rotate angle of this PresentationShape in degrees.public final void setText(String value)
PresentationShape.value - The text of this PresentationShape.Copyright © 2026. All rights reserved.