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.
|
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.
|
getParent_Immediate
public final SizeF getSize()
Returns or sets the size in points.
Read/write SizeF
.
getType()
) property to SlideSizeType.Custom
and set (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 (getSize()
) accordingly, but will keep (getOrientation()
/setOrientation(int)
) intact.getType
in interface ISlideSize
public final int getOrientation()
Returns or sets the slide orientation.
Read/write SlideOrientation
.
getOrientation
in interface ISlideSize
public final void setOrientation(int value)
Returns or sets the slide orientation.
Read/write SlideOrientation
.
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 (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 ISlideSize
width
- Width.height
- Height.scaleType
- Scale type of slide content.
getType()
) property to SlideSizeType.Custom
and set (getOrientation()
/setOrientation(int)
).