public class SlideSize extends java.lang.Object implements ISlideSize
Represents a size of slide.
Modifier and Type | Method and Description |
---|---|
int |
getOrientation()
Returns or sets the slide orientation.
|
com.aspose.slides.IDOMObject |
getParent_Immediate()
Returns Parent_Immediate object.
|
SizeF |
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.
|
public final SizeF getSize()
Returns or sets the size in points.
Read/write SizeF
.
TypeType
(getType()
) property to SlideSizeType.Custom
and set SlideSize.OrientationOrientation
(getOrientation()
/setOrientation(int)
).getSize
in interface ISlideSize
public final int getType()
Returns or sets the type of slide size.
Read/write SlideSizeType
.
SlideSizeType.Custom
will change SlideSize.SizeSize
(getSize()
) accordingly, but will keep SlideSize.OrientationOrientation
(getOrientation()
/setOrientation(int)
) intact.getType
in interface ISlideSize
public final int getOrientation()
Returns or sets the slide orientation.
Read/write SlideOrienation
.
getOrientation
in interface ISlideSize
public final void setOrientation(int value)
Returns or sets the slide orientation.
Read/write SlideOrienation
.
setOrientation
in interface ISlideSize
public final void setSize(int type, int scaleType)
Sets the type of slide size and scales content using scale type.
setSize
in interface ISlideSize
type
- Slide size type.scaleType
- Scale type of slide content.
SlideSizeType.Custom
will change SlideSize.SizeSize
(getSize()
) accordingly, but will keep SlideSize.OrientationOrientation
(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 ISlideSize
width
- Width.height
- Height.scaleType
- Scale type of slide content.
TypeType
(getType()
) property to SlideSizeType.Custom
and set SlideSize.OrientationOrientation
(getOrientation()
/setOrientation(int)
).public final com.aspose.slides.IDOMObject getParent_Immediate()
Returns Parent_Immediate object.
Read-only IDOMObject
.