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


ILasFile.SpatialReference Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GeodatabaseExtensions > ESRI.ArcGIS.GeoDatabaseExtensions > Interfaces > IL > ILasFile Interface > ILasFile.SpatialReference Property
ArcGIS Developer Help

ILasFile.SpatialReference Property

The spatial reference of the LAS file.

[Visual Basic .NET]
Public ReadOnly Property SpatialReference As ISpatialReference
[C#]
public ISpatialReference SpatialReference {get;}
[C++]
HRESULT get_SpatialReference(
  ISpatialReference** ppSpatialReference
);
[C++]
Parameters
ppSpatialReference [out, retval]

ppSpatialReference is a parameter of type ISpatialReference**

Product Availability

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

Description

The spatial reference used by ArcGIS for the LAS file. This may come from the LAS file itself, or, if present, a prj file that sits next to the LAS file. A NULL pointer is return if no spatial reference information exists. See also ILasFile.NativeSpatialReference and ILasFile.HasPrjFile.

See Also

ILasFile Interface