zplCore.comzplCore.com

PrinterFitContext

public record PrinterFitContext

What a printer-fit check sees: the ZPL, the resolution it was rendered at and every measured label.

Constructors

SignatureDescription
# PrinterFitContext(string Zpl, int Dpi, IReadOnlyList<ComplianceLabel> Labels)What a printer-fit check sees: the ZPL, the resolution it was rendered at and every measured label. Zpl: The ZPL under test. · Dpi: Resolution the labels were rendered and measured at. · Labels: Measured labels (elements with bounds in dots, ink).

Properties

PropertyTypeDescription
DefaultLabelLengthMm { get; init; }double?Label length used when the ZPL sets no ^LL (null: the checker's default).
Dpi { get; init; }intResolution the labels were rendered and measured at.
FieldValues { get; init; }IReadOnlyDictionary<int, string>^FN values the labels were rendered with (null: none).
Labels { get; init; }IReadOnlyList<ComplianceLabel>Measured labels (elements with bounds in dots, ink).
Zpl { get; init; }stringThe ZPL under test.

Methods

Method SignatureReturnsDescription
# Deconstruct(out string Zpl, out int Dpi, out IReadOnlyList<ComplianceLabel> Labels)void