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

In This Topic
    FileName Property
    In This Topic
    Gets the file name (with file extension).
    Syntax
    public string FileName {get;}
    Public ReadOnly Property FileName As String
    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