This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > GeoDatabaseExtensions > ESRI.ArcGIS.GeoDatabaseExtensions > Interfaces > IL > ILasFile Interface > ILasFile.NativeSpatialReference Property (ArcObjects .NET 10.5 SDK) |
The spatial reference defined in the LAS file header.
[Visual Basic .NET] Public ReadOnly Property NativeSpatialReference As ISpatialReference
[C#] public ISpatialReference NativeSpatialReference {get;}
[C++]
HRESULT get_NativeSpatialReference(
ISpatialReference** ppSpatialReference
);
[C++]
Parameters ppSpatialReference [out, retval]
ppSpatialReference is a parameter of type ISpatialReference
Returns the spatial reference as defined by the contents of the referenced LAS file. A NULL pointer is returned if no spatial reference is defined. Note, it's possible through the use of a prj file to define, or override, the spatial reference of a LAS file. The NativeSpatialReference only tells you what's in the LAS file, not what spatial reference ArcGIS is using for it. To determine that call ILasFile.SpatialReference.