SourceSpan
public record SourceSpanWhere an element comes from in the ZPL source.
Constructors
| Signature | Description |
|---|---|
# 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
| Property | Type | Description |
|---|---|---|
Column { get; init; } | int | 1-based column (0 when unknown). |
Length { get; init; } | int | Length of the field block up to and including ^FS. |
Line { get; init; } | int | 1-based line (0 when unknown). |
Offset { get; init; } | int | Character offset of the field's first command (-1 when unknown). |
Methods
| Method Signature | Returns | Description |
|---|---|---|
# Deconstruct(out int Offset, out int Length, out int Line, out int Column) | void |

