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


ILasFile.HasPrjFile Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabaseExtensions)  

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(
  VARIANT_BOOL* pbHasPRJ
);
[C++]

Parameters pbHasPRJ [out, retval] pbHasPRJ is a parameter of type VARIANT_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