This class represents a length.

System.Object
  System.ValueType
    Docentric.Documents.ObjectModel.Length

Namespace: Docentric.Documents.ObjectModel
Assembly: Docentric.Documents.ObjectModel (in Docentric.Documents.ObjectModel.dll)
public struct Length

The Length type exposes the following members.

Name Description
Public member Centimeters Gets the length in centimeters.
Public member Inches Gets the length in inches.
Public member Millimeters Gets the length in millimeters.
Public member Picas Gets the length in picas.
Public member Points Gets the length in points.
Public memberStatic property Zero Returns zero length.
Name Description
Public method Equals(Object) Compares two lengths for equality. (Overrides Length.Equals)
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType)
Public methodStatic member FromCentimeters Creates a Length structure from the numeric value representing length in centimeters.
Public methodStatic member FromInches Creates a Length structure from the numeric value representing length in inches.
Public methodStatic member FromMillimeters Creates a Length structure from the numeric value representing length in millimeters.
Public methodStatic member FromPicas Creates a Length structure from the numeric value representing length in picas.
Public methodStatic member FromPoints Creates a Length structure from the numeric value representing length in points.
Public method GetHashCode() Returns the hash code for this instance. (Overrides Length.GetHashCode)
Public method GetHashCode Returns the hash code for this instance. (Inherited from ValueType)
Public method GetType Gets the Type of the current instance. (Inherited from Object)
Public method ToString() Returns the object as string. Measure will be added to the end of the string. (Overrides Length.ToString)
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType)