SlideSize

SlideSize class

Represents a size of slide.

public class SlideSize : DomObject<Presentation>, ISlideSize

Properties

NameDescription
Orientation { get; set; }Returns or sets the slide orientation. Changing this value will swap slide’s dimensions. Read/write SlideOrientation.
Size { get; }Returns or sets the size in points. Assigning any value will reset Type property to Custom and set Orientation. Read/write SizeF.
Type { get; }Returns or sets the type of slide size. Assigning any value except Custom will change Size accordingly, but will keep Orientation intact. Read/write SlideSizeType.

Methods

NameDescription
SetSize(SlideSizeType, SlideSizeScaleType)Sets the type of slide size and scales content using scale type. Assigning any value except Custom will change Size accordingly, but will keep Orientation intact.
SetSize(float, float, SlideSizeScaleType)Sets the size in points and scales content using scale type. Assigning any value will reset Type property to Custom and set Orientation.

See Also