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

In This Topic
    FileName Property (LasFile)
    In This Topic
    Gets the file name (with file extension).
    Syntax
    Public ReadOnly Property FileName As String
    public string FileName {get;}
    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 pathFile = file.FilePath;
        var name = file.FileName;
        var ptCount = file.PointCount;
        var zMin = file.ZMin;
        var zMax = file.ZMax;
      }
    }
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.2 or higher.
    See Also