ArcPad Scripting Object Model
Project Method
See Also  Send comments on this topic.
pShape
Required. A variable declared as a Geometric object.
CoordSys Object : Project Method

Glossary Item Box

Description

Projects, unprojects, or reprojects a geometric object using the properties of the CoordSys object.

Syntax

Set variable = object.Project ( pShape )

Parameters

pShape
Required. A variable declared as a Geometric object.

Return Type

Remarks

Use the LookupConstant method to lookup the conversion factor (to meters) of unit codes returned by the GeographicUnit and ProjectionUnit properties. For example:


     Set CS = Application.Map.CoordinateSystem
     MsgBox CS.LookupConstant(CS.ProjectionUnit) & " " & CS.LookupCode(CS.ProjectionUnit) & " = 1 meter"

Example

See Also

© 2012 All Rights Reserved.