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.Svg.Drawing
Assembly: Aspose.SVG (in Aspose.SVG.dll) Version: 20.2
Syntax
public abstract class Dimension : Numeric

The Dimension type exposes the following members.

Properties
  NameDescription
Public propertyUnitType
Gets the unit type of the Unit.
(Inherited from Unit.)
Methods
  NameDescription
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 (Inherited from Object.)
Public methodGetHashCode
Returns a hash code for this instance.
(Inherited from Numeric.)
Public methodGetType (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 (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