The elevation above mean sea level (meters) of the site at which the telescope is located

Namespace: ASCOM.DeviceInterface
Assembly: ASCOM.DeviceInterfaces (in ASCOM.DeviceInterfaces.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
double SiteElevation { get; set; }
Visual Basic
Property SiteElevation As Double
	Get
	Set
Visual C++
property double SiteElevation {
	double get ();
	void set (double value);
}

Remarks

Setting this property will raise an error if the given value is outside the range -300 through +10000 metres. Reading the property will raise an error if the value has never been set or is otherwise unavailable.

This is only available for telescope InterfaceVersions 2 and 3

Exceptions

ExceptionCondition
ASCOM..::..PropertyNotImplementedExceptionIf the property is not implemented.
ASCOM..::..InvalidValueExceptionIf an invalid elevation is set.
ASCOM..::..InvalidOperationExceptionIf the application must set the elevation before reading it, but has not.

See Also