ArcGIS Pro 3.8 API Reference Guide
ArcGIS.Core.Geometry Namespace / SpatialReferenceBuilder Class / CreateSpatialReference Method / CreateSpatialReference(SpatialReference) Method
The spatial reference to use to create a new spatial reference.

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

    Parameters

    spatialReference
    The spatial reference to use to create a new spatial reference.

    Return Value

    Exceptions
    ExceptionDescription
    The spatialReferenceis null
    Requirements

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

    ArcGIS Pro version: 3.0 or higher.
    See Also