public interface ISlideSize
Represents the size and orientation of a slide.
| Modifier and Type | Method and Description |
|---|---|
int |
getOrientation()
Gets or sets the slide orientation.
|
java.awt.geom.Dimension2D |
getSize()
Gets the slide dimensions in points.
|
int |
getType()
Gets the slide size type.
|
void |
setOrientation(int value)
Gets or sets the slide orientation.
|
void |
setSize(float width,
float height,
int scaleType)
Sets the slide dimensions explicitly and scales existing content.
|
void |
setSize(int type,
int scaleType)
Sets the slide size by type and scales existing content.
|
java.awt.geom.Dimension2D getSize()
Gets the slide dimensions in points.
getType() property to SlideSizeType.Custom
and sets the getOrientation()/setOrientation(int).
int getType()
Gets the slide size type.
SlideSizeType.Custom adjusts the getSize()
according to the predefined dimensions, while retaining the current getOrientation()/setOrientation(int).
int getOrientation()
Gets or sets the slide orientation.
void setOrientation(int value)
Gets or sets the slide orientation.
void setSize(int type,
int scaleType)
Sets the slide size by type and scales existing content.
type - The predefined slide size to apply.scaleType - The content scaling mode to use.
SlideSizeType.Custom adjusts the getSize()
based on the selected type, while preserving getOrientation()/setOrientation(int).
void setSize(float width,
float height,
int scaleType)
Sets the slide dimensions explicitly and scales existing content.
width - The new slide width, in points.height - The new slide height, in points.scaleType - The content scaling mode to use.
getType() property to SlideSizeType.Custom
and sets the {getOrientation()/setOrientation(int).
Copyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.