LengthOrAuto Class
Represents a container for storage length or 'auto' units..
Inheritance Hierarchy

Namespace: Aspose.Html.Drawing
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.9
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
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 Unit.)
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 methodSetAuto
Resets container to state 'auto'.
Public methodToString
Returns a String that represents this instance.
(Overrides UnitToString.)
Operators
See Also