ArcGIS Pro 2.9 API Reference Guide
CreateSpatialReference(String,String) Method

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.
Convenience method to create a new instance of the SpatialReference class.
Syntax
public static SpatialReference CreateSpatialReference( 
   string wkt,
   string verticalWkt
)
Public Overloads Shared Function CreateSpatialReference( _
   ByVal wkt As String, _
   ByVal verticalWkt As String _
) As SpatialReference

Parameters

wkt
The Well-known text that represents the spatial reference.
verticalWkt
The Well-known text that represents the vertical coordinate system.

Return Value

Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

SpatialReferenceBuilder Class
SpatialReferenceBuilder Members
Overload List