Returns or sets the angular unit code of the geographic coordinate system.
Read-write property
object.GeographicUnit = [ value ] |
Long
The GeographicUnit property returns or sets the angular unit code of the geographic coordinate system. You can use the LookupCode method to get the name of the angular unit and the LookupConstant method to get the conversion factor between the angular unit and radians. For example:
Set CS = Application.Map.CoordinateSystem
MsgBox CS.LookupConstant(CS.GeographicUnit) & " " & CS.LookupCode(CS.GeographicUnit) & " = 1 radian"
Set CS = Application.Map.CoordinateSystem
MsgBox CS.LookupConstant(CS.GeographicUnit) & " " & CS.LookupCode(CS.GeographicUnit) & " = 1 radian"