ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Geometry Namespace / GridUnit Class / CreateGridUnit Method / CreateGridUnit(String) Method
The predefined name of the grid unit.

In This Topic
    CreateGridUnit(String) Method
    In This Topic
    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 11, Windows 10, Windows 8.1

    See Also