Size Class
Stores a values which specify a Height and Width.
Inheritance Hierarchy

Namespace: Aspose.Html.Drawing
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.9
public class Size

The Size type exposes the following members.

Public methodSize
Initializes a new instance of the Size class.
Public methodSize(Int32, Int32)
Initializes a new instance of the Size class and specify a Height and Width in pixels.
Public methodSize(Length, Length)
Initializes a new instance of the Size class.
Public propertyHeight
Gets or sets the vertical component of this Size.
Public propertyWidth
Gets or sets the horizontal component of this Size.
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 a hash function for a particular type.
(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 methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also