LengthOrAuto Class
Represents a container for storage length or 'auto' units..
Inheritance Hierarchy
SystemObject
  Aspose.Svg.DrawingUnit
    Aspose.Svg.DrawingLengthOrAuto

Namespace: Aspose.Svg.Drawing
Assembly: Aspose.SVG (in Aspose.SVG.dll) Version: 20.2
Syntax
public class LengthOrAuto : Unit

The LengthOrAuto type exposes the following members.

Constructors
  NameDescription
Public methodLengthOrAuto
Initializes a new instance of the LengthOrAuto class and sets state to 'auto'.
Public methodLengthOrAuto(Length)
Initializes a new instance of the LengthOrAuto class and sets state to 'lenght'.
Properties
  NameDescription
Public propertyIsAuto
Gets a value indicating whether this instance is in 'auto'.
Public propertyLength
Gets or sets the length.
Public propertyUnitType
Gets the unit type of the Unit.
Methods
  NameDescription
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.
(Overrides UnitEquals(Unit).)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode
Returns a hash code for this instance.
(Inherited from Unit.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodSetAuto
Resets container to state 'auto'.
Public methodToString
Returns a String that represents this instance.
(Overrides UnitToString.)
Operators
See Also