public void SetSpatialReference( SpatialReference spatialReference )
Public Sub SetSpatialReference( _ ByVal spatialReference As SpatialReference _ )
Parameters
- spatialReference
 - The spatial reference to set.
 
public void SetSpatialReference( SpatialReference spatialReference )
Public Sub SetSpatialReference( _ ByVal spatialReference As SpatialReference _ )
| Exception | Description | 
|---|---|
| System.ArgumentNullException | The spatial reference is null. | 
| ArcGIS.Core.CalledOnWrongThreadException | This method must be called on the MCT. Use QueuedTask.Run. | 
| ArcGIS.Core.Data.Exceptions.TinException | The editor is not in edit mode. | 
// Set the spatial reference
tinEditor.SetSpatialReference(SpatialReferenceBuilder.CreateSpatialReference(54004));
	Target Platforms: Windows 11, Windows 10