This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPXYDomain Interface > IGPXYDomain.SetDomainFromSpatialReference Method (ArcObjects .NET 10.4 SDK) |
Set the xy domain from a spatial reference.
[Visual Basic .NET] Public Sub SetDomainFromSpatialReference ( _ ByVal pSpRef As ISpatialReference _ )
[C#] public void SetDomainFromSpatialReference ( ISpatialReference pSpRef );
[C++]
HRESULT SetDomainFromSpatialReference(
ISpatialReference* pSpRef
);
[C++]
Parameters pSpRef [in]
pSpRef is a parameter of type ISpatialReference