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


ILasFile.HasPrjFile 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.HasPrjFile Property
ArcGIS Developer Help

ILasFile.HasPrjFile Property

Indicates if there is a corresponding PRJ file.

[Visual Basic .NET]
Public ReadOnly Property HasPrjFile As Boolean
[C#]
public bool HasPrjFile {get;}
[C++]
HRESULT get_HasPrjFile(
  Boolean* pbHasPRJ
);
[C++]
Parameters
pbHasPRJ [out, retval]

pbHasPRJ is a parameter of type bool*

Product Availability

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

Description

Returns TRUE if the referenced LAS file has a corrseponding prj file. This is an ArcGIS file, placed next to the LAS file, that uses the same base name as the LAS file but has the extension '.prj'. Prj files contain spatial reference information. If ArcGIS looks to a LAS file and finds a prj next to it, the spatial reference from the prj will take precedence over what's in the LAS file.

See Also

ILasFile Interface