public abstract class PresentationBaseShape extends ShapeSearchAdapter implements ITwoDObject, IPresentationHyperlinkContainer
Provides the abstract base class for shapes of all types in a PowerPoint document.
| Modifier and Type | Method and Description |
|---|---|
String |
getAlternativeText()
Gets the descriptive (alternative) text associated with this
. |
double |
getHeight()
Gets the height of this
in points. |
String |
getHyperlink(int actionType)
Gets the hyperlink associated with this
. |
long |
getId()
Gets the identifier of this
. |
PresentationImageFillFormat |
getImageFillFormat()
Gets the image fill format settings of this
. |
String |
getName()
Gets the name of this
. |
PresentationBaseSlide |
getPresentation()
Gets the parent presentation of this
. |
double |
getWidth()
Gets the width of this
in points. |
double |
getX()
Gets the horizontal offset of this
from presentation left border in points. |
double |
getY()
Gets or sets the vertical offset of this
from
presentation top border in points. |
int |
getZOrderPosition()
Gets the position of this
in the z-order. |
void |
setAlternativeText(String value)
Sets the descriptive (alternative) text associated with this
. |
void |
setHeight(double value)
Sets the height of this
in points. |
void |
setHyperlink(int actionType,
String url)
Sets the hyperlink associated with this
. |
void |
setWidth(double value)
Sets the width of this
in points. |
void |
setX(double value)
Sets the horizontal offset of this
from presentation left border in points. |
void |
setY(double value)
Gets or sets the vertical offset of this
from
presentation top border in points. |
getFormattedTextFragmentsForSearch, getImageForSearch, getPageNumber, getTextForSearch, setFoundWatermarkImage, setFoundWatermarkTextpublic final String getAlternativeText()
PresentationBaseShape.PresentationBaseShape.public final double getHeight()
PresentationBaseShape in points.getHeight in interface ITwoDObjectPresentationBaseShape in points.public final String getHyperlink(int actionType)
PresentationBaseShape.getHyperlink in interface IPresentationHyperlinkContaineractionType - The action that activates the hyperlink.public final long getId()
PresentationBaseShape.PresentationBaseShape.public final PresentationImageFillFormat getImageFillFormat()
PresentationBaseShape.PresentationBaseShape.public final String getName()
PresentationBaseShape.PresentationBaseShape.public final PresentationBaseSlide getPresentation()
PresentationBaseShape.PresentationBaseShape.public final double getWidth()
PresentationBaseShape in points.getWidth in interface ITwoDObjectPresentationBaseShape in points.public final double getX()
PresentationBaseShape
from presentation left border in points.getX in interface ITwoDObjectPresentationBaseShape.public final double getY()
PresentationBaseShape from
presentation top border in points.getY in interface ITwoDObjectPresentationBaseShape.public final int getZOrderPosition()
PresentationBaseShape in the z-order.
A shape with greater z-order is always in front of a shape with a lower z-order.
PresentationBaseShape in the z-order.public final void setAlternativeText(String value)
PresentationBaseShape.value - The descriptive (alternative) text associated with this PresentationBaseShape.public final void setHeight(double value)
PresentationBaseShape in points.value - The height of this PresentationBaseShape in points.public final void setHyperlink(int actionType,
String url)
PresentationBaseShape.setHyperlink in interface IPresentationHyperlinkContaineractionType - The action that activates the hyperlink.url - The hyperlink url.public final void setWidth(double value)
PresentationBaseShape in points.value - The width of this PresentationBaseShape in points.public final void setX(double value)
PresentationBaseShape
from presentation left border in points.value - The x-coordinate of this PresentationBaseShape.public final void setY(double value)
PresentationBaseShape from
presentation top border in points.value - The y-coordinate of this PresentationBaseShape.Copyright © 2026. All rights reserved.