com.aspose.slides.pptx
Class SlideSizeEx

java.lang.Object
  extended by com.aspose.slides.pptx.SlideSizeEx

public class SlideSizeEx
extends java.lang.Object

Represents a size of a slide.


Constructor Summary
SlideSizeEx()
           
 
Method Summary
 SlideOrienationEx getOrientation()
          Returns the slide orientation.
 java.awt.Dimension getSize()
          Returns the size in points.
 SlideSizeTypeEx getType()
          Returns the type of slide size.
 void setOrientation(SlideOrienationEx value)
          Sets the slide orientation.
 void setSize(java.awt.geom.Dimension2D value)
          Sets the size in points.
 void setType(SlideSizeTypeEx value)
          Sets the type of a slide size.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlideSizeEx

public SlideSizeEx()
Method Detail

getSize

public java.awt.Dimension getSize()
Returns the size in points.


setSize

public void setSize(java.awt.geom.Dimension2D value)
Sets the size in points. Assigning any value will reset size type and set orientation.


getType

public SlideSizeTypeEx getType()
Returns the type of slide size.


setType

public void setType(SlideSizeTypeEx value)
Sets the type of a slide size. Assigning any value will change size accordingly, but will keep orientation.


getOrientation

public SlideOrienationEx getOrientation()
Returns the slide orientation.


setOrientation

public void setOrientation(SlideOrienationEx value)
Sets the slide orientation. Changing this value will swap slide's dimensions.