public interface 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.
|
java.awt.geom.Dimension2D getSize()
Returns or sets the size in points.
Read/write Dimension2D
.
TypeType
(getType()
) property to SlideSizeType.Custom
and set ISlideSize.OrientationOrientation
(getOrientation()
/setOrientation(int)
).int getType()
Returns or sets the type of slide size.
Read/write SlideSizeType
.
SlideSizeType.Custom
will change ISlideSize.SizeSize
(getSize()
) accordingly, but will keep ISlideSize.OrientationOrientation
(getOrientation()
/setOrientation(int)
) intact.int getOrientation()
Returns or sets the slide orientation.
Read/write SlideOrienation
.
void setOrientation(int value)
Returns or sets the slide orientation.
Read/write SlideOrienation
.
void setSize(int type, int scaleType)
Sets the type of slide size and scales content using scale type.
type
- Slide size type.scaleType
- Scale type of slide content.
SlideSizeType.Custom
will change ISlideSize.SizeSize
(getSize()
) accordingly, but will keep ISlideSize.OrientationOrientation
(getOrientation()
/setOrientation(int)
) intact.void setSize(float width, float height, int scaleType)
Sets the size in points and scales content using scale type.
width
- Width.height
- Height.scaleType
- Scale type of slide content.
TypeType
(getType()
) property to SlideSizeType.Custom
and set ISlideSize.OrientationOrientation
(getOrientation()
/setOrientation(int)
).