ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Data.Analyst3D Namespace / LasFile Class / PointCount Property
Example

In This Topic
    PointCount Property (LasFile)
    In This Topic
    Gets the number of points in the file.
    Syntax
    public double PointCount {get;}
    Public ReadOnly Property PointCount As Double
    Example
    Get Individual File Information from a LAS Dataset
    var (lasFileCount, zLasFileCount) = lasDataset.GetFileCounts();
    IReadOnlyList<ArcGIS.Core.Data.Analyst3D.LasFile> fileInfo = lasDataset.GetFiles();
    foreach (var file in fileInfo)
    {
      var path = file.FilePath;
      var name = file.FileName;
      var ptCount = file.PointCount;
      var zMin = file.ZMin;
      var zMax = file.ZMax;
    }
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.2 or higher.
    See Also