ArcGIS Pro 2.7 API Reference Guide
CreateGridUnit(String) Method

ArcGIS.Core.Geometry Namespace > GridUnit Class > CreateGridUnit Method : CreateGridUnit(String) Method
The predefined name of the grid unit.
Convenience method to quickly create a GridUnit instance using a name.
Syntax
public static GridUnit CreateGridUnit( 
   string name
)
Public Overloads Shared Function CreateGridUnit( _
   ByVal name As String _
) As GridUnit

Parameters

name
The predefined name of the grid unit.

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 10, Windows 8.1

See Also

Reference

GridUnit Class
GridUnit Members
Overload List