Class LgsxDocument
- Namespace
- PclIO.Formats.Leica
- Assembly
- PclIO.dll
Represents a Leica Geosystems scan container (.lgsx / .lgs).
public sealed class LgsxDocument : PclDocument, IDisposableInheritance
Implements
Inherited Members
Properties
Entries
Table of contents entries in file order.
public IReadOnlyList<LgsxEntry> Entries { get; }Property Value
Kind
The format kind of this document.
public override PclFileKind Kind { get; }Property Value
ProjectGuid
Project GUID found in the file tail, or an empty string when the file does not contain one.
public string ProjectGuid { get; }Property Value
Scans
The scans contained in the document, in file order.
public override IReadOnlyList<PclScan> Scans { get; }Property Value
SoftwareVersion
Software version string found in the file tail, or an empty string when the file does not contain one.
public string SoftwareVersion { get; }Property Value
Methods
Open(string, PclReadOptions?)
Opens a Leica container and reads its table of contents.
public static LgsxDocument Open(string path, PclReadOptions? options = null)Parameters
pathstring-
Path of the .lgsx or .lgs file.
optionsPclReadOptions?-
Read options; currently unused when opening.
Returns
Exceptions
- FileNotFoundException
-
The file does not exist.
- InvalidDataException
-
The file is not a valid or complete container.