The C1Length type exposes the following members.

Constructors

  Name Description
Public method C1Length(Double)
Initializes a new C1Length with a pixel length.
Public method C1Length(Double, C1LengthUnitType)
Initializes a new C1Length.

Methods

  Name Description
Public method Equals (Overrides ValueType..::..Equals(Object).)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode (Overrides ValueType..::..GetHashCode()()()().)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method Static member Max
Returns the larger of two C1Length instances.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method Static member Min
Returns the smaller of two C1Length instances.
Public method ToString (Overrides ValueType..::..ToString()()()().)

Operators

  Name Description
Public operator Static member Equality
Public operator Static member Inequality

Fields

  Name Description
Public field Static member Auto
Gets an instance of C1Length that represents automatic length.

Properties

  Name Description
Public property IsAbsolute
Gets whether this length is an absolute value, that is, it is expressed in pixels.
Public property IsAuto
Gets whether this length is auto.
Public property IsPercent
Gets whether this length is a percent.
Public property UnitType
Gets the unit type of this length.
Public property Value
Gets the value of this length.

See Also