Show / Hide Table of Contents

Method ToSpatialReference

ToSpatialReference()

Returns a new SpatialReference based on the current values of this builder.

Declaration
public SpatialReference ToSpatialReference()
Returns
Type Description
SpatialReference

A new spatial reference with the current coordinate system and precision values of this builder.

Remarks

Use IsValid after changing precision properties on this builder to check all the values are valid and consistent with each other - for example, Tolerance must be at least twice Resolution for this method to return a SpatialReference.

See Also
IsValid

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.8
.NET200.8
.NET Windows200.8
.NET Android200.8
.NET iOS200.8
.NET Framework200.8
UWP200.8
In This Article
Back to top Copyright © 2022 Esri.