This document is archived and information here might be outdated.  Recommended version.

IGPXYDomain.SetDomainFromSpatialReference Method (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPXYDomain Interface > IGPXYDomain.SetDomainFromSpatialReference Method
ArcGIS Developer Help

IGPXYDomain.SetDomainFromSpatialReference Method

Set the xy domain from a spatial reference.

[Visual Basic .NET]
Public Sub SetDomainFromSpatialReference ( _
    ByVal pSpRef As ISpatialReference _
public void SetDomainFromSpatialReference (
    ISpatialReference pSpRef
HRESULT SetDomainFromSpatialReference(
  ISpatialReference* pSpRef
pSpRef [in]

pSpRef is a parameter of type ISpatialReference*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IGPXYDomain Interface