ArcGIS Pro 3.8 API Reference Guide
ArcGIS.Core.Geometry Namespace / SpatialReferenceBuilder Class / CreateSpatialReference Method / CreateSpatialReference(String,String) Method
The well-known text that represents the spatial reference.
The well-known text that represents the vertical coordinate system.

In This Topic
    CreateSpatialReference(String,String) Method
    In This Topic
    Convenience method to create a new instance of the SpatialReference class.
    Syntax
    public static SpatialReference CreateSpatialReference( 
       string wkt,
       string vcsWkt
    )
    Public Overloads Shared Function CreateSpatialReference( _
       ByVal wkt As String, _
       ByVal vcsWkt As String _
    ) As SpatialReference

    Parameters

    wkt
    The well-known text that represents the spatial reference.
    vcsWkt
    The well-known text that represents the vertical coordinate system.

    Return Value

    Requirements

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

    ArcGIS Pro version: 3.0 or higher.
    See Also