SlideSize
Contents
[
Hide
]SlideSize class
Represents a size of slide.
public class SlideSize : DomObject<Presentation>, ISlideSize
Properties
Name | Description |
---|---|
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
Name | Description |
---|---|
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
- class DomObject<TParent>
- class Presentation
- interface ISlideSize
- namespace Aspose.Slides
- assembly Aspose.Slides