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


IBasicGeoprocessor.SpatialReference Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IBasicGeoprocessor.SpatialReference Property

The output spatial reference.

[Visual Basic .NET]
Public Property SpatialReference As ISpatialReference
[C#]
public ISpatialReference SpatialReference {get; set;}
[C++]
HRESULT get_SpatialReference(
  ISpatialReference** ppSpatialRef
);
[C++]
HRESULT put_SpatialReference(
  ISpatialReference* ppSpatialRef
);
[C++]

Parameters ppSpatialRef [out, retval]
ppSpatialRef is a parameter of type ISpatialReference ppSpatialRef [in]
ppSpatialRef is a parameter of type ISpatialReference

Product Availability

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

Remarks

IBasicGeoprocessor.SpatialReference should be set to an appropriate to high or low precision based on the target workspace.  For more details see the SpatialReference documentation, particularly the ISpatialReferenceResolution interface.

See Also

IBasicGeoprocessor Interface