ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.Geometry Namespace / GridUnit Class / CreateGridUnit Method / CreateGridUnit(Int32) Method
The grid unit factory code.
Version

CreateGridUnit(Int32) Method
Convenience method to quickly create a GridUnit instance using a factory code.
Syntax
public static GridUnit CreateGridUnit( 
   int factoryCode
)

Parameters

factoryCode
The grid unit factory code.

Return Value

Remarks

The available grid units.

Factory Code Unit Name
909000 MGRS (Military Grid Reference System)
909001 USNG (United States National Grid)
909002 UTM (Universal Transverse Mercator)
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also