ArcPad Scripting Object Model
GeographicUnit Property
See Also  Send comments on this topic.
CoordSys Object : GeographicUnit Property

Glossary Item Box

Description

Returns or sets the angular unit code of the geographic coordinate system.

Property type

Read-write property

Syntax

object.GeographicUnit = [ value ]

Return Type

Long

Remarks

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"

See Also

© 2012 All Rights Reserved.