public class SlideSize extends DomObject<Presentation> implements ISlideSize
Represents a size of slide.
| Modifier and Type | Method and Description |
|---|---|
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(float width,
float height,
int scaleType)
Sets the size in points and scales content using scale type.
|
void |
setSize(int type,
int scaleType)
Sets the type of slide size and scales content using scale type.
|
getParent_Immediatepublic final java.awt.geom.Dimension2D getSize()
Returns or sets the size in points.
Read/write Dimension2D.
getType()) property to SlideSizeType.Custom and set (getOrientation()/setOrientation(int)).getSize in interface ISlideSizepublic final int getType()
Returns or sets the type of slide size.
Read/write SlideSizeType.
SlideSizeType.Custom will change (getSize()) accordingly, but will keep (getOrientation()/setOrientation(int)) intact.getType in interface ISlideSizepublic final int getOrientation()
Returns or sets the slide orientation.
Read/write SlideOrientation.
getOrientation in interface ISlideSizepublic final void setOrientation(int value)
Returns or sets the slide orientation.
Read/write SlideOrientation.
setOrientation in interface ISlideSizepublic final void setSize(int type,
int scaleType)
Sets the type of slide size and scales content using scale type.
setSize in interface ISlideSizetype - Slide size type.scaleType - Scale type of slide content.
SlideSizeType.Custom will change (getSize()) accordingly, but will keep (getOrientation()/setOrientation(int)) intact.public final void setSize(float width,
float height,
int scaleType)
Sets the size in points and scales content using scale type.
setSize in interface ISlideSizewidth - Width.height - Height.scaleType - Scale type of slide content.
getType()) property to SlideSizeType.Custom and set (getOrientation()/setOrientation(int)).Copyright © 2004-2022 Aspose Pty Ltd. All Rights Reserved.