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


IScene.SpatialReference Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (3DAnalyst)  

IScene.SpatialReference Property

The spatial reference of the scene.

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

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

See Also

IScene Interface

.NET Snippets

Zoom to Selected Globe Features

.NET Samples

Create camera flyby from path (Code Files: frmCameraPath)