This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IX > IXYEventSourceName Interface > IXYEventSourceName.SpatialReference Property (ArcObjects .NET 10.5 SDK) |
The spatial reference of the XYEventSource.
[Visual Basic .NET] Public Property SpatialReference As ISpatialReference
[C#] public ISpatialReference SpatialReference {get; set;}
[C++]
HRESULT get_SpatialReference(
ISpatialReference** SpatialReference
);
[C++]
HRESULT putref_SpatialReference(
ISpatialReference* SpatialReference
);
[C++]
Parameters SpatialReference [out, retval]
SpatialReference is a parameter of type ISpatialReference SpatialReference [in]
SpatialReference is a parameter of type ISpatialReference
The SpatialReference refers to the spatial reference of the coordinates in the table. If a spatial reference is not specified, the XY event source will have either an unknown or an assumed geographic coordinate system. The coordinate system will be assumed geographic when the coordiates are in the range of 180 to -180 in the X direction and 90 to -90 in the Y direction.