SizeF

Overview

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

Represents a 2D size with float dimensions.

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

Properties

NameTypeAccessDescription
WidthfloatRead/WriteGets or sets the width.
HeightfloatRead/WriteGets or sets the height.

Methods

SignatureDescription
SizeF(width: float, height: float)Initializes a new instance of SizeF with the specified dimensions.
Equals(obj: object?)Determines whether the provided object is equal to this SizeF instance
GetHashCode()Returns a hash code representing the current SizeF values
ToString()Returns a string that describes the width and height of the SizeF

See Also