LinearValue Class

Inherits from

GeoCalc.FormattedValue

 

Description

The LinearValue class expresses a single linear distance value.  

The AngularValue and LinearValue classes rely upon the use of format strings, some of which may be quite complex in order to produce the desired format. For a complete list of the formatting rules, see String Formats.

 

Constructors

Constructor

Description

LinearValue

Creates a new instance of the LinearValue class

 

Properties

Property

Description

Class

Gets the coordinate reference system type. (Overrides FormattedValue.Class).

Format

Gets or sets the format string associated with this value. (Overrides FormattedValue.Format).

InMeters

Gets or sets the scalar value in meters.

Units

Gets or sets the unit associated with the value. (Overrides FormattedValue.Units).

Inherited Property

Description

InUnits

Inherited from FormattedValue.

IsNull

Inherited from FormattedValue.

Label

Inherited from FormattedValue.

Value

Inherited from FormattedValue.

 

Methods

Method

Description

Clone

Creates a clone of this object. (Overrides FormattedValue.Clone()).

FromString

Sets the value based on the string representation. (Inherited from and overrides FormattedValue.FromString()).

ToString

Creates a string representation of the value. (Inherited from and Overrides FormattedValue.ToString()).

Inherited Method

Description

Equals

Inherited from FormattedValue.

GetHashCode

Inherited from FormattedValue.

GetType

Gets the Type of the current instance. (Inherited from Object).

OnChanged

Inherited from FormattedValue.

 

Events

Inherited Event

Description

Changed

Inherited from FormattedValue.

 

Overloaded Operators

Operator

Description

operator=

Assigns a new value to this LinearValue

operator==

Compares the value of two LinearValues

operator!=

Compares the value of two LinearValues