FormattedValue Class

Inherits from

System.Object

 

Classes that Inherit FormattedValue

GeoCalc.LinearValue

GeoCalc.AngularValue

GeoCalc.ScalarValue

 

Description

Base class for all specific FormattedValue types, including AngularValue, LinearValue and ScalarValue.

 

Properties

Method

Description

Class

Gets the Value type.

Format

Gets or sets the format string associated with this value. (i.e. "DD.MMSS")

InUnits

Gets or sets the value in units.

IsNull

Gets or sets the bool indicating the value is null.

Label

Gets or sets the coordinate value label.

Units

Gets or sets the unit associated with the value.

Value

Gets or sets the value in default units (Degrees, Meters, Unity).

 

Methods

Method

Description

Clone

Creates a clone of this object.

Equals

Value equals comparison. (Overrides Object.Equals(Object)).

FromString

Sets the value based on the string representation.

GetHashCode

Serves as a hash function for a particular type (Overrides Object.GetHashCode()).

OnChanged

Invoke the Changed event; called whenever formatted value changes.

ToString

Creates a string representation of the value (Overrides Object.ToString()).

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection (Inherited from Object.)

GetType

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

MemberwiseClone

Creates a shallow copy of the current Object (Inherited from Object).

 

Events

Event

Description

Changed

An event that clients can use to be notified whenever the elements of the list change.