zplCore.comzplCore.com

SourceSpan

public record SourceSpan

Where an element comes from in the ZPL source.

Constructors

SignatureDescription
# SourceSpan(int Offset, int Length, int Line, int Column)Where an element comes from in the ZPL source. Offset: Character offset of the field's first command (-1 when unknown). · Length: Length of the field block up to and including ^FS. · Line: 1-based line (0 when unknown). · Column: 1-based column (0 when unknown).

Properties

PropertyTypeDescription
Column { get; init; }int1-based column (0 when unknown).
Length { get; init; }intLength of the field block up to and including ^FS.
Line { get; init; }int1-based line (0 when unknown).
Offset { get; init; }intCharacter offset of the field's first command (-1 when unknown).

Methods

Method SignatureReturnsDescription
# Deconstruct(out int Offset, out int Length, out int Line, out int Column)void