com.aspose.slides
Class Background

java.lang.Object
  extended by com.aspose.slides.Shape
      extended by com.aspose.slides.Rectangle
          extended by com.aspose.slides.Background
All Implemented Interfaces:
IShape, IShapeFormat

public final class Background
extends Rectangle

Represents the background of a slide.


Method Summary
 TextFrame addTextFrame(java.lang.String text)
          Always throws PptEditException because TextFrame can't be added to Background objects.
 int getRotation()
          Always returns 0 for Background objects.
 void setRotation(int value)
          Do nothing for Background objects.
 void zOrder(int cmd)
          Do nothing for Background objects.
 
Methods inherited from class com.aspose.slides.Rectangle
serialize
 
Methods inherited from class com.aspose.slides.Shape
addLink, clearLink, createShapeElements, createShapeElements, getAlternativeText, getAnimationSettings, getConnectionSites, getConnectionSitesRaw, getFillFormat, getHeight, getLineFormat, getLink, getMasterShapeId, getName, getParent, getPlaceholder, getProtection, getShadowFormat, getShapeId, getShapeRectangle, getTags, getTextFrame, getThreeDFormat, getWidth, getX, getY, getZOrderPosition, hasExternalData, isFlipHorizontal, isFlipVertical, isHidden, isMasterTextHolder, isTextHolder, setAlternativeText, setFlipHorizontal, setFlipVertical, setHeight, setHidden, setName, setProtection, setWidth, setX, setY
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

zOrder

public void zOrder(int cmd)
Do nothing for Background objects.

Overrides:
zOrder in class Shape
Parameters:
cmd - specifies where to move the specified shape relative to the other shapes.

getRotation

public int getRotation()
Always returns 0 for Background objects.

Overrides:
getRotation in class Shape
Returns:
The rotation angle.

setRotation

public void setRotation(int value)
Do nothing for Background objects.

Overrides:
setRotation in class Shape
Parameters:
value - new rotation angle.

addTextFrame

public TextFrame addTextFrame(java.lang.String text)
                       throws PptEditException
Always throws PptEditException because TextFrame can't be added to Background objects.

Overrides:
addTextFrame in class Shape
Parameters:
text - Default text for a new TextFrame.
Throws:
PptEditException