![]() |
||
Home Products Purchase Downloads Demos Forums Blogs Wiki API Corporate |
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.powerpoint.Shape
com.aspose.powerpoint.Rectangle
com.aspose.powerpoint.Background
public final class Background
Represents the background of a slide.
Method Summary | |
---|---|
void |
addTextFrame(java.lang.String text)
Adds a new TextFrame to a shape. |
int |
getHeight()
Returns the height of the background. |
int |
getRotation()
Returns the number of degrees the specified shape is rotated around the z-axis. |
int |
getWidth()
Returns the width of the background. |
int |
getX()
Returns the x-coordinate of the upper-left corner of the background. |
int |
getY()
Returns the y-coordinate of the upper-left corner of the background. |
void |
setHeight(int value)
Do nothing. |
void |
setRotation(int value)
Do nothing. |
void |
setWidth(int value)
Do nothing. |
void |
setX(int value)
Do nothing. |
void |
setY(int value)
Do nothing. |
void |
zOrder(int cmd)
Do nothing. |
Methods inherited from class com.aspose.powerpoint.Rectangle |
---|
isMasterTextHolder |
Methods inherited from class com.aspose.powerpoint.Shape |
---|
addLink, clearLink, getAlternativeText, getAnimationSettings, getFillFormat, getLineFormat, getLink, getParent, getTags, getTextFrame, getZOrderPosition, isFlipH, isFlipV, isTextHolder, setAlternativeText, setFlipH, setFlipV |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void zOrder(int cmd)
zOrder
in class Shape
cmd
- specifies where to move the specified shape relative to the other shapes.
See ZOrderCmd
.public int getRotation()
getRotation
in class Shape
public void setRotation(int value)
setRotation
in class Shape
value
- rotation angle.public int getX()
getX
in class Shape
public void setX(int value)
setX
in class Shape
value
- new x coordinate.public int getY()
getY
in class Shape
public void setY(int value)
setY
in class Shape
value
- new y coordinate.public int getWidth()
getWidth
in class Shape
public void setWidth(int value)
setWidth
in class Shape
value
- new width.public int getHeight()
getHeight
in class Shape
public void setHeight(int value)
setHeight
in class Shape
value
- new height.public void addTextFrame(java.lang.String text) throws PptEditException
addTextFrame
in class Shape
text
- Default text for a new TextFrame.
PptEditException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |