zplCore.comzplCore.com

ImportedLabel

public sealed class ImportedLabel

One imported format.

Constructors

SignatureDescription
# ImportedLabel()

Properties

PropertyTypeDescription
Comparison { get; init; }ImageComparisonPixel comparison of the original render with the re-exported label.
Copies { get; init; }int^PQ quantity of the format.
DiffPng { get; init; }byte[]Diff PNG: black = both, red = only original, blue = only re-export (ImportOptions.IncludeImages).
Fidelity { get; }double?Round-trip score 0–1 (null when ImportOptions.MeasureFidelity is off).
FieldValues { get; init; }IReadOnlyDictionary<string, string>Data field values of this label (DataField → text), e.g. the ^XF data block; pass to Label.ToZpl(records).
FormatName { get; init; }stringName of the stored format this label defines (^DF) or recalls (^XF).
Index { get; init; }intIndex in LabelImportResult.Labels.
IsTemplate { get; init; }boolTrue for a stored format (^DF) imported as template; its unbound fields show their ^FN number as sample text.
required Label { get; init; }LabelThe editable label (unit ImportOptions.Unit). For ^XF formats the bound items hold this label's values as text.
OriginalPng { get; init; }byte[]PNG of the original render (ImportOptions.IncludeImages).
PixelExact { get; init; }boolTrue when the re-exported label renders pixel-identical to the original.
RawItems { get; init; }intItems kept as RawZplItem.
RoundTripPng { get; init; }byte[]PNG of the re-exported label (ImportOptions.IncludeImages).
SourceOffset { get; init; }intCharacter offset of the format in the source (-1 = unknown).
TypedItems { get; init; }intItems imported as typed items (text, barcode, shape, image, RFID).
Warnings { get; init; }IReadOnlyList<LabelImportWarning>Messages of this label.