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

public final class Background
extends Rectangle

Represents a background of a slide.


Method Summary
 TextFrame addTextFrame(java.lang.String text)
           Adds a new TextFrame to a shape.
 int getPictureId()
          Deprecated. 
 int getRotation()
           Always returns 0 for Background.
 void setPictureId(int value)
          Deprecated. 
 void setRotation(int value)
           
 void zOrder(int cmd)
           Do nothing for Background.
 
Methods inherited from class com.aspose.slides.Rectangle
getFlipHorizontal, getFlipVertical, serialize, setFlipHorizontal, setFlipVertical
 
Methods inherited from class com.aspose.slides.Shape
addLink, clearLink, createShapeElements, createShapeElements, getAlternativeText, getAnimationSettings, getConnectionSites, getConnectionSitesRaw, getFillFormat, getFlipH, getFlipV, getHeight, getHidden, getLineFormat, getLink, getMasterShapeId, getName, getParent, getParentSlide, getPlaceholder, getProtection, getShadowFormat, getShapeId, getShapeRectangle, getTags, getTextFrame, getThreeDFormat, getWidth, getX, getY, getZOrderPosition, hasExternalData, isMasterTextHolder, isTextHolder, setAlternativeText, setFlipH, setFlipV, 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

getPictureId

@Deprecated
public int getPictureId()
Deprecated. 

Returns or sets the background picture's ID. Read/write int.


setPictureId

@Deprecated
public void setPictureId(int value)
Deprecated. 


zOrder

public void zOrder(int cmd)

Do nothing for Background.

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

getRotation

public int getRotation()

Always returns 0 for Background. Do nothing on changing rotation angle. Read/write int.

Overrides:
getRotation in class Rectangle

setRotation

public void setRotation(int value)
Overrides:
setRotation in class Rectangle

addTextFrame

public TextFrame addTextFrame(java.lang.String text)

Adds a new TextFrame to a shape. If shape already has TextFrame then do nothing.

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