ArcGIS Pro 2.6 API Reference Guide
Domain Property (SpatialReferenceBuilder)

ArcGIS.Core.Geometry Namespace > SpatialReferenceBuilder Class : Domain Property
Gets or sets the valid extent of this coordinate system.
Syntax
public Envelope Domain {get; set;}
Public Property Domain As Envelope

Property Value

Envelope representing the domain of the spatial reference. The envelope returned is useful as a limit for zooming out on a map with this spatial reference.
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Remarks
The extent returned is the bounding box of the valid area of this spatial reference and might not mean that a point within this extent is a valid point in the spatial reference. Note that the domain must be a square. If you set values such that the input envelope is not a square, the larger of the width and height will take precedence. For example, let's say you set XMin = -180, YMin = -90, XMax = 180, and YMax = 90. If you then get the domain, you will see that YMax = 270. That is because the width = 360, so the height must also equal 360. The minimum x and y values are always maintained.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

SpatialReferenceBuilder Class
SpatialReferenceBuilder Members