Public Function GetFileCounts() As ValueTuple(Of Integer,Integer)
public ValueTuple<int,int> GetFileCounts()
Return Value
The number of LAS and ZLAS files that comprise this LAS dataset.
Public Function GetFileCounts() As ValueTuple(Of Integer,Integer)
public ValueTuple<int,int> GetFileCounts()
| Exception | Description |
|---|---|
| ArcGIS.Core.Data.Exceptions.GeodatabaseException | A geodatabase-related exception has occurred. |
| ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run |
{
var (lasFileCount, zLasFileCount) = lasDataset.GetFileCounts();
IReadOnlyList<ArcGIS.Core.Data.Analyst3D.LasFile> fileInfo = lasDataset.GetFiles();
foreach (var file in fileInfo)
{
var pathFile = file.FilePath;
var name = file.FileName;
var ptCount = file.PointCount;
var zMin = file.ZMin;
var zMax = file.ZMax;
}
}
Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)