com.aspose.slides
Class SlideSize

java.lang.Object
  extended by com.aspose.slides.SlideSize
All Implemented Interfaces:
ISlideSize

public class SlideSize
extends java.lang.Object
implements ISlideSize

Represents a size of slide.


Constructor Summary
SlideSize()
           
 
Method Summary
 int getOrientation()
           Returns or sets the slide orientation.
 java.awt.geom.Dimension2D getSize()
           
 int getType()
           Returns or sets the type of slide size.
 void setOrientation(int value)
           
 void setSize(java.awt.geom.Dimension2D value)
           
 void setType(int value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlideSize

public SlideSize()
Method Detail

getSize

public java.awt.geom.Dimension2D getSize()
Specified by:
getSize in interface ISlideSize

setSize

public void setSize(java.awt.geom.Dimension2D value)
Specified by:
setSize in interface ISlideSize

getType

public int getType()

Returns or sets the type of slide size. Read/Write SlideSizeType.


Assigning any value except SlideSizeType.Custom will change SlideSize.SizeSize accordingly, but will keep SlideSize.OrientationOrientation intact.

Specified by:
getType in interface ISlideSize

setType

public void setType(int value)
Specified by:
setType in interface ISlideSize

getOrientation

public int getOrientation()

Returns or sets the slide orientation. Read/Write SlideOrienation.


Changing this value will swap slide's dimensions.

Specified by:
getOrientation in interface ISlideSize

setOrientation

public void setOrientation(int value)
Specified by:
setOrientation in interface ISlideSize