com.aspose.slides
Class Placeholder

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

public class Placeholder
extends java.lang.Object

Represents a placeholder on a slide.


Method Summary
 java.lang.String getAlternativeText()
           Returns or sets the alternative text associated with a Placeholder in a Web presentation.
 FillFormat getFillFormat()
           Returns the FillFormat object that contains fill formatting properties of a Placeholder.
 int getHeight()
           Returns or sets the height of a Placeholder.
 LineFormat getLineFormat()
           Returns the LineFormat object that contains line formatting properties of a Placeholder.
 int getMasterShapeId()
           Returns the unique Id of a master shape or 0 in case shape is not inherited from any master shapes.
 Slide getParent()
          Deprecated. 
 BaseSlide getParentSlide()
           Returns the parent slide.
 int getPlaceholderType()
           Returns the type of a placeholder.
 ShadowFormat getShadowFormat()
           Returns the ShadowFormat object that contains shadow decoration properties of a Placeholder.
 Shape getShapeRef()
           Returns the Shape object which contains real properties of a Placeholder.
 ThreeDFormat getThreeDFormat()
           Returns the ThreeDFormat object that contains 3D decoration properties of a Placeholder.
 int getWidth()
           Returns or sets the width of a Placeholder.
 int getX()
           Returns or sets the x-coordinate of the upper-left corner of a Placeholder.
 int getY()
           Returns or sets the y-coordinate of the upper-left corner of a Placeholder.
 void setAlternativeText(java.lang.String value)
           
 void setHeight(int value)
           
 void setWidth(int value)
           
 void setX(int value)
           
 void setY(int value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getParentSlide

public BaseSlide getParentSlide()

Returns the parent slide. Read-only BaseSlide.


getParent

@Deprecated
public Slide getParent()
Deprecated. 

Returns the parent slide. Read-only Slide.


getMasterShapeId

public int getMasterShapeId()

Returns the unique Id of a master shape or 0 in case shape is not inherited from any master shapes. Read-only int.


getPlaceholderType

public int getPlaceholderType()

Returns the type of a placeholder. Read-only Aspose.Slides.PlaceholderType.


getAlternativeText

public java.lang.String getAlternativeText()

Returns or sets the alternative text associated with a Placeholder in a Web presentation. Read/write string.


setAlternativeText

public void setAlternativeText(java.lang.String value)

getShapeRef

public Shape getShapeRef()

Returns the Shape object which contains real properties of a Placeholder. Read-only Shape.


getX

public int getX()

Returns or sets the x-coordinate of the upper-left corner of a Placeholder. Read/write int.


setX

public void setX(int value)

getY

public int getY()

Returns or sets the y-coordinate of the upper-left corner of a Placeholder. Read/write int.


setY

public void setY(int value)

getWidth

public int getWidth()

Returns or sets the width of a Placeholder. Read/write int.


setWidth

public void setWidth(int value)

getHeight

public int getHeight()

Returns or sets the height of a Placeholder. Read/write int.


setHeight

public void setHeight(int value)

getLineFormat

public LineFormat getLineFormat()

Returns the LineFormat object that contains line formatting properties of a Placeholder. Read-only Aspose.Slides.LineFormat.


getFillFormat

public FillFormat getFillFormat()

Returns the FillFormat object that contains fill formatting properties of a Placeholder. Read-only Aspose.Slides.FillFormat.


getShadowFormat

public ShadowFormat getShadowFormat()

Returns the ShadowFormat object that contains shadow decoration properties of a Placeholder. Read-only Aspose.Slides.ShadowFormat.


getThreeDFormat

public ThreeDFormat getThreeDFormat()

Returns the ThreeDFormat object that contains 3D decoration properties of a Placeholder. Read-only Aspose.Slides.FillFormat.