Size

Overview

Size is a class in Aspose.Slides FOSS for .NET.

Represents a 2D size with integer dimensions.

This class provides 4 methods for working with Size objects in .NET programs. Available methods include: Equals, GetHashCode, Size, ToString. All public members are accessible to any .NET application after installing the Aspose.Slides FOSS for .NET package. Properties: Height, Width.

Properties

NameTypeAccessDescription
WidthintRead/WriteGets or sets the width.
HeightintRead/WriteGets or sets the height.

Methods

SignatureDescription
Size(width: int, height: int)Initializes a new instance of Size with the specified dimensions.
Equals(obj: object?)Calls Equals(obj) on this Size instance.
GetHashCode()Returns a hash code derived from the width and height values
ToString()Returns a string representation of the size in “width,height” format

See Also