SlideSize Class

Represents a size of slide.
Inheritance Hierarchy
SystemObject
  Aspose.SlidesDomObjectPresentation
    Aspose.SlidesSlideSize

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 22.5.0.0 (22.5)
Syntax
public class SlideSize : DomObject<Presentation>, 
	ISlideSize

The SlideSize type exposes the following members.

Properties
  NameDescription
Public propertyOrientation
Returns or sets the slide orientation.
Remarks
Changing this value will swap slide's dimensions.
Read/write SlideOrientation.
Public propertySize
Returns or sets the size in points.
Remarks
Assigning any value will reset Type property to Custom and set Orientation.
Read/write SizeF.
Public propertyType
Returns or sets the type of slide size.
Remarks
Assigning any value except Custom will change Size accordingly, but will keep Orientation intact.
Read/write SlideSizeType.
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetSize(SlideSizeType, SlideSizeScaleType)
Sets the type of slide size and scales content using scale type.
Remarks
Assigning any value except Custom will change Size accordingly, but will keep Orientation intact.
Public methodSetSize(Single, Single, SlideSizeScaleType)
Sets the size in points and scales content using scale type.
Remarks
Assigning any value will reset Type property to Custom and set Orientation.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also