Home  Products  Purchase  Downloads  Demos  Forums  Blogs  Wiki  API  Corporate

com.aspose.powerpoint
Class Placeholder

java.lang.Object
  extended by com.aspose.powerpoint.Placeholder
Direct Known Subclasses:
TextHolder

public class Placeholder
extends java.lang.Object

Represents the placeholder on a slide.


Method Summary
 int getHeight()
          Returns the height of the placeholder.
 Slide getParent()
          Returns the parent slide.
 int getPlaceholderType()
          Returns the type of a placeholder.
 int getWidth()
          Returns the width of the placeholder.
 int getX()
          Returns the x-coordinate of the upper-left corner of the placeholder.
 int getY()
          Returns the y-coordinate of the upper-left corner of the placeholder.
 void setHeight(int value)
          Do nothing for unknown placeholders.
 void setWidth(int value)
          Do nothing for unknown placeholders.
 void setX(int value)
          Do nothing for unknown placeholders.
 void setY(int value)
          Do nothing for unknown placeholders.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getParent

public Slide getParent()
Returns the parent slide.

Returns:
The parent slide.

getPlaceholderType

public int getPlaceholderType()
Returns the type of a placeholder.

Returns:
The placeholder type. See PlaceholderType.

getX

public int getX()
Returns the x-coordinate of the upper-left corner of the placeholder.

Returns:
Always returns 0 for unknown placeholders.

setX

public void setX(int value)
Do nothing for unknown placeholders.

Parameters:
value - x coordinate of the upper-left corner.

getY

public int getY()
Returns the y-coordinate of the upper-left corner of the placeholder.

Returns:
Always returns 0 for unknown placeholders.

setY

public void setY(int value)
Do nothing for unknown placeholders.

Parameters:
value - y coordinate of the upper-left corner.

getWidth

public int getWidth()
Returns the width of the placeholder.

Returns:
Always returns 0 for unknown placeholders.

setWidth

public void setWidth(int value)
Do nothing for unknown placeholders.

Parameters:
value - width of the placeholder.

getHeight

public int getHeight()
Returns the height of the placeholder.

Returns:
Always returns 0 for unknown placeholders.

setHeight

public void setHeight(int value)
Do nothing for unknown placeholders.

Parameters:
value - height of the placeholder.