ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / GridOptions Class / GetGridOrigin Method

In This Topic
    GetGridOrigin Method
    In This Topic
    Gets the current grid origin
    Syntax
    Public Function GetGridOrigin() As Coordinate3D
    public Coordinate3D GetGridOrigin()

    Return Value

    The current origin of the grid.
    Remarks
    Origin coordinates are stored in the spatial reference of the map that was used when the coordinates were stored. The elevation or Z value will be 0 if it has not been set otherwise it will be in meters.
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.7 or higher.
    See Also