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()
           Returns or sets the size in points.
 int getType()
           Returns or sets the type of slide size.
 void setOrientation(int value)
           Returns or sets the slide orientation.
 void setSize(java.awt.geom.Dimension2D value)
           Returns or sets the size in points.
 void setType(int value)
           Returns or sets the type of slide size.
 
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()

Returns or sets the size in points. Read/write SizeF.


Assigning any value will reset TypeType property to SlideSizeType.Custom and set SlideSize.OrientationOrientation.

Specified by:
getSize in interface ISlideSize

setSize

public void setSize(java.awt.geom.Dimension2D value)

Returns or sets the size in points. Read/write SizeF.


Assigning any value will reset TypeType property to SlideSizeType.Custom and set SlideSize.OrientationOrientation.

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)

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:
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)

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


Changing this value will swap slide's dimensions.

Specified by:
setOrientation in interface ISlideSize


Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.