zplCore.comzplCore.com

LabelImportWarning

public record LabelImportWarning

A message of Label.FromZpl with its source position.

Constructors

SignatureDescription
# LabelImportWarning(LabelImportWarningKind Kind, string Command, string Message, int Offset, int Line, int Column, int LabelIndex)A message of Label.FromZpl with its source position. Kind: Severity / category. · Command: ZPL command (e.g. "^TB"), empty for general messages. · Message: English description. · Offset: Character offset in the ZPL source (-1 = unknown). · Line: 1-based line (0 = unknown). · Column: 1-based column (0 = unknown). · LabelIndex: Index into LabelImportResult.Labels (-1 = whole document).

Properties

PropertyTypeDescription
Column { get; init; }int1-based column (0 = unknown).
Command { get; init; }stringZPL command (e.g. "^TB"), empty for general messages.
Kind { get; init; }LabelImportWarningKindSeverity / category.
LabelIndex { get; init; }intIndex into LabelImportResult.Labels (-1 = whole document).
Line { get; init; }int1-based line (0 = unknown).
Message { get; init; }stringEnglish description.
Offset { get; init; }intCharacter offset in the ZPL source (-1 = unknown).

Methods

Method SignatureReturnsDescription
# Deconstruct(out LabelImportWarningKind Kind, out string Command, out string Message, out int Offset, out int Line, out int Column, out int LabelIndex)void