SlideSize class

SlideSize class

Represents a size of slide.

The SlideSize type exposes the following members:

Properties

PropertyDescription
sizeReturns or sets the size in points.
Assigning any value will reset SlideSize.type property to SlideSizeType.CUSTOM and set SlideSize.orientation.
Read/write aspose.pydrawing.SizeF.
typeReturns or sets the type of slide size.
Assigning any value except SlideSizeType.CUSTOM will change SlideSize.size accordingly, but will keep SlideSize.orientation intact.
Read/write SlideSizeType.
orientationReturns or sets the slide orientation.
Changing this value will swap slide’s dimensions.
Read/write SlideOrientation.

Methods

MethodDescription
set_sizeSets the type of slide size and scales content using scale type.
Assigning any value except SlideSizeType.CUSTOM will change SlideSize.size accordingly, but will keep SlideSize.orientation intact.
set_sizeSets the size in points and scales content using scale type.
Assigning any value will reset SlideSize.type property to SlideSizeType.CUSTOM and set SlideSize.orientation.

See Also