Dimension Class
Provides the base class for dimensions. The general term 'dimension' refers to a number with a unit attached to it, and are denoted by UnitType.
Inheritance Hierarchy

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

The Dimension type exposes the following members.

Public propertyUnitType
Gets the unit type of the Unit.
(Inherited from Unit.)
Public methodCompareTo
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
(Inherited from Numeric.)
Public methodEquals(Object)
Determines whether the specified Object, is equal to this instance.
(Inherited from Unit.)
Public methodEquals(Unit)
Determines whether the specified Unit, is equal to this instance.
(Inherited from Numeric.)
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
Returns a hash code for this instance.
(Inherited from Numeric.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodGetValue
Gets the unit value.
(Inherited from Numeric.)
Public methodGetValue(UnitType)
Gets the value converted to the specified UnitType.
(Inherited from Numeric.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnConvert
Called when unit is converted to the specified unit type.
(Inherited from Numeric.)
Public methodToString
Returns a String that represents this instance.
(Overrides NumericToString.)
See Also