com.aspose.slides
Class AutoShape

java.lang.Object
  extended by com.aspose.slides.Shape
      extended by com.aspose.slides.GeometryShape
          extended by com.aspose.slides.AutoShape
All Implemented Interfaces:
IAutoShape, IGeometryShape, IHyperlinkContainer, IPresentationComponent, IShape, ISlideComponent

public class AutoShape
extends GeometryShape
implements IAutoShape

Represents an AutoShape.


Method Summary
 ITextFrame addTextFrame(java.lang.String text)
           Adds a new TextFrame to a shape.
 IAutoShapeLock getAutoShapeLock()
           Returns shape's locks.
 IAutoShapeLock getShapeLock_AutoShape_New()
           Returns autoshape'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.
 void setUseBackgroundFill(boolean value)
           Determines whether this autoshape should be filled with slide's background fill instead of specified by style or fill format.
 
Methods inherited from class com.aspose.slides.GeometryShape
createShapeElements, getAdjustments, getShapeStyle, getShapeType, setShapeType
 
Methods inherited from class com.aspose.slides.Shape
addPlaceholder, createEffectFormatEffective, createFillFormatEffective, createLineFormatEffective, createThreeDFormatEffective, getAlternativeText, getBlackWhiteMode, getConnectionSiteCount, getCustomData, getEffectFormat, getFillFormat, getFrame, getHeight, getHidden, getHLinkClick, getHLinkMouseOver, getHyperlinkClick, getHyperlinkManager, getHyperlinkMouseOver, getLineFormat, getName, getParent_Immediate, getParentGroup, getPlaceholder, getPresentation, getRawFrame, getRotation, getShapeLock, getSlide, getTags, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setBlackWhiteMode, setFrame, setHeight, setHidden, setHLinkClick, setHLinkMouseOver, setHyperlinkClick, setHyperlinkMouseOver, setName, setRawFrame, setRotation, setWidth, setX, setY
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.aspose.slides.IGeometryShape
createShapeElements, getAdjustments, getShapeStyle, getShapeType, setShapeType
 
Methods inherited from interface com.aspose.slides.IShape
addPlaceholder, createEffectFormatEffective, createFillFormatEffective, createLineFormatEffective, createThreeDFormatEffective, getAlternativeText, getBlackWhiteMode, getConnectionSiteCount, getCustomData, getEffectFormat, getFillFormat, getFrame, getHeight, getHidden, getLineFormat, getName, getParentGroup, getPlaceholder, getRawFrame, getRotation, getShapeLock, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setBlackWhiteMode, setFrame, setHeight, setHidden, setName, setRawFrame, setRotation, setWidth, setX, setY
 
Methods inherited from interface com.aspose.slides.ISlideComponent
getSlide
 
Methods inherited from interface com.aspose.slides.IPresentationComponent
getPresentation
 
Methods inherited from interface com.aspose.slides.IHyperlinkContainer
getHyperlinkClick, getHyperlinkManager, getHyperlinkMouseOver, setHyperlinkClick, setHyperlinkMouseOver
 

Method Detail

getShapeLock_AutoShape_New

public IAutoShapeLock getShapeLock_AutoShape_New()

Returns autoshape's locks. Read-only IAutoShapeLock.


getAutoShapeLock

public IAutoShapeLock getAutoShapeLock()
Description copied from interface: IAutoShape

Returns shape's locks. Read-only IAutoShapeLock.

Specified by:
getAutoShapeLock in interface IAutoShape

getTextFrame

public ITextFrame getTextFrame()

Returns TextFrame object for the AutoShape. Read-only ITextFrame.

Specified by:
getTextFrame in interface IAutoShape

getUseBackgroundFill

public 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.

Specified by:
getUseBackgroundFill in interface IAutoShape

setUseBackgroundFill

public 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.

Specified by:
setUseBackgroundFill in interface IAutoShape

addTextFrame

public ITextFrame addTextFrame(java.lang.String text)

Adds a new TextFrame to a shape. If shape already has TextFrame then simply changes its text.

Specified by:
addTextFrame in interface IAutoShape
Parameters:
text - Default text for a new TextFrame.


Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.