Table of Contents

Class LgsxDocument

Namespace
PclIO.Formats.Leica
Assembly
PclIO.dll

Represents a Leica Geosystems scan container (.lgsx / .lgs).

public sealed class LgsxDocument : PclDocument, IDisposable

Inheritance

Implements

Inherited Members

Properties

Entries

Table of contents entries in file order.

public IReadOnlyList<LgsxEntry> Entries { get; }

Property Value

IReadOnlyList<LgsxEntry>

Kind

The format kind of this document.

public override PclFileKind Kind { get; }

Property Value

PclFileKind

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

string

Scans

The scans contained in the document, in file order.

public override IReadOnlyList<PclScan> Scans { get; }

Property Value

IReadOnlyList<PclScan>

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

string

Methods

Open(string, PclReadOptions?)

Opens a Leica container and reads its table of contents.

public static LgsxDocument Open(string path, PclReadOptions? options = null)

Parameters

path string

Path of the .lgsx or .lgs file.

options PclReadOptions?

Read options; currently unused when opening.

Returns

LgsxDocument

Exceptions

FileNotFoundException

The file does not exist.

InvalidDataException

The file is not a valid or complete container.