PresentationBaseShape
Inheritance: java.lang.Object, com.groupdocs.watermark.search.ShapeSearchAdapter
All Implemented Interfaces: com.groupdocs.watermark.search.ITwoDObject, com.groupdocs.watermark.contents.IPresentationHyperlinkContainer
public abstract class PresentationBaseShape extends ShapeSearchAdapter implements ITwoDObject, IPresentationHyperlinkContainer
Provides the abstract base class for shapes of all types in a PowerPoint document.
Methods
| Method | Description | 
|---|---|
| getPresentation() | Gets the parent presentation of this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape). | 
| getImageFillFormat() | Gets the image fill format settings of this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape). | 
| getName() | Gets the name of this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape). | 
| getAlternativeText() | Gets the descriptive (alternative) text associated with this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape). | 
| setAlternativeText(String value) | Sets the descriptive (alternative) text associated with this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape). | 
| getId() | Gets the identifier of this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape). | 
| getZOrderPosition() | Gets the position of this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape) in the z-order. | 
| getHyperlink(int actionType) | Gets the hyperlink associated with this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape). | 
| setHyperlink(int actionType, String url) | Sets the hyperlink associated with this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape). | 
| getX() | Gets the horizontal offset of this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape) from presentation left border in points. | 
| setX(double value) | Sets the horizontal offset of this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape) from presentation left border in points. | 
| getY() | Gets or sets the vertical offset of this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape) from presentation top border in points. | 
| setY(double value) | Gets or sets the vertical offset of this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape) from presentation top border in points. | 
| getWidth() | Gets the width of this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape) in points. | 
| setWidth(double value) | Sets the width of this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape) in points. | 
| getHeight() | Gets the height of this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape) in points. | 
| setHeight(double value) | Sets the height of this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape) in points. | 
getPresentation()
public final PresentationBaseSlide getPresentation()
Gets the parent presentation of this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape).
Returns:
PresentationBaseSlide - The parent presentation of this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape).
getImageFillFormat()
public final PresentationImageFillFormat getImageFillFormat()
Gets the image fill format settings of this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape).
Returns:
PresentationImageFillFormat - The image fill format settings of this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape).
getName()
public final String getName()
Gets the name of this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape).
Returns:
java.lang.String - The name of this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape).
getAlternativeText()
public final String getAlternativeText()
Gets the descriptive (alternative) text associated with this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape).
Returns:
java.lang.String - The descriptive (alternative) text associated with this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape).
setAlternativeText(String value)
public final void setAlternativeText(String value)
Sets the descriptive (alternative) text associated with this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape).
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| value | java.lang.String | The descriptive (alternative) text associated with this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape). | 
getId()
public final long getId()
Gets the identifier of this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape).
Returns:
long - The identifier of this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape).
getZOrderPosition()
public final int getZOrderPosition()
Gets the position of this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape) in the z-order.
A shape with greater z-order is always in front of a shape with a lower z-order.
Returns:
int - The position of this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape) in the z-order.
getHyperlink(int actionType)
public final String getHyperlink(int actionType)
Gets the hyperlink associated with this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape).
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| actionType | int | The action that activates the hyperlink. | 
Returns: java.lang.String - The url of the hyperlink that is activated on specified action.
setHyperlink(int actionType, String url)
public final void setHyperlink(int actionType, String url)
Sets the hyperlink associated with this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape).
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| actionType | int | The action that activates the hyperlink. | 
| url | java.lang.String | The hyperlink url. | 
getX()
public final double getX()
Gets the horizontal offset of this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape) from presentation left border in points.
Returns:
double - The x-coordinate of this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape).
setX(double value)
public final void setX(double value)
Sets the horizontal offset of this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape) from presentation left border in points.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| value | double | The x-coordinate of this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape). | 
getY()
public final double getY()
Gets or sets the vertical offset of this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape) from presentation top border in points.
Returns:
double - The y-coordinate of this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape).
setY(double value)
public final void setY(double value)
Gets or sets the vertical offset of this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape) from presentation top border in points.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| value | double | The y-coordinate of this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape). | 
getWidth()
public final double getWidth()
Gets the width of this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape) in points.
Returns:
double - The width of this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape) in points.
setWidth(double value)
public final void setWidth(double value)
Sets the width of this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape) in points.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| value | double | The width of this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape) in points. | 
getHeight()
public final double getHeight()
Gets the height of this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape) in points.
Returns:
double - The height of this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape) in points.
setHeight(double value)
public final void setHeight(double value)
Sets the height of this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape) in points.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| value | double | The height of this [PresentationBaseShape](../../com.groupdocs.watermark.contents/presentationbaseshape) in points. |