public class AutoShape extends GeometryShape implements IAutoShape
Represents an AutoShape.
| Modifier and Type | Method and Description |
|---|---|
ITextFrame |
addTextFrame(java.lang.String text)
Adds a new TextFrame to a shape.
|
IAutoShapeLock |
getAutoShapeLock()
Returns autoshape's locks.
|
IAutoShapeLock |
getShapeLock()
Returns shape's locks.
|
ITextFrame |
getTextFrame()
Returns TextFrame object for the AutoShape.
|
boolean |
getUseBackgroundFill()
Determines whether this autoshape should be filled with slide's background fill instead of specified by style or fill format.
|
boolean |
isTextBox()
Specifies if the shape is a text box.
|
void |
setUseBackgroundFill(boolean value)
Determines whether this autoshape should be filled with slide's background fill instead of specified by style or fill format.
|
createShapeElements, getAdjustments, getGeometryPaths, getShapeStyle, getShapeType, setGeometryPath, setGeometryPaths, setShapeTypeaddPlaceholder, getAlternativeText, getAlternativeTextTitle, getBlackWhiteMode, getConnectionSiteCount, getCustomData, getEffectFormat, getFillFormat, getFrame, getHeight, getHidden, getHyperlinkClick, getHyperlinkManager, getHyperlinkMouseOver, getLineFormat, getName, getOfficeInteropShapeId, getParent_Immediate, getParentGroup, getPlaceholder, getPresentation, getRawFrame, getRotation, getSlide, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setAlternativeTextTitle, setBlackWhiteMode, setFrame, setHeight, setHidden, setHyperlinkClick, setHyperlinkMouseOver, setName, setRawFrame, setRotation, setWidth, setX, setY, writeAsSvg, writeAsSvgequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateShapeElements, getAdjustments, getGeometryPaths, getShapeStyle, getShapeType, setGeometryPath, setGeometryPaths, setShapeTypeaddPlaceholder, getAlternativeText, getAlternativeTextTitle, getBlackWhiteMode, getConnectionSiteCount, getCustomData, getEffectFormat, getFillFormat, getFrame, getHeight, getHidden, getLineFormat, getName, getOfficeInteropShapeId, getParentGroup, getPlaceholder, getRawFrame, getRotation, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setAlternativeTextTitle, setBlackWhiteMode, setFrame, setHeight, setHidden, setName, setRawFrame, setRotation, setWidth, setX, setY, writeAsSvg, writeAsSvggetSlidegetPresentationgetHyperlinkClick, getHyperlinkManager, getHyperlinkMouseOver, setHyperlinkClick, setHyperlinkMouseOverpublic final IAutoShapeLock getShapeLock()
Returns shape's locks.
Read-only IAutoShapeLock.
getShapeLock in interface IShapegetShapeLock in class Shapepublic final IAutoShapeLock getAutoShapeLock()
Returns autoshape's locks.
Read-only IAutoShapeLock.
getAutoShapeLock in interface IAutoShapepublic final ITextFrame getTextFrame()
Returns TextFrame object for the AutoShape.
Read-only ITextFrame.
getTextFrame in interface IAutoShapepublic final boolean getUseBackgroundFill()
Determines whether this autoshape should be filled with slide's background fill instead of specified by style or fill format.
Read/write boolean.
getUseBackgroundFill in interface IAutoShapepublic final void setUseBackgroundFill(boolean value)
Determines whether this autoshape should be filled with slide's background fill instead of specified by style or fill format.
Read/write boolean.
setUseBackgroundFill in interface IAutoShapepublic ITextFrame addTextFrame(java.lang.String text)
Adds a new TextFrame to a shape. If shape already has TextFrame then simply changes its text.
addTextFrame in interface IAutoShapetext - Default text for a new TextFrame.ITextFrame object.public final boolean isTextBox()
Specifies if the shape is a text box.
isTextBox in interface IAutoShapeCopyright © 2004-2022 Aspose Pty Ltd. All Rights Reserved.