PrinterFitContext
public record PrinterFitContextWhat a printer-fit check sees: the ZPL, the resolution it was rendered at and every measured label.
Constructors
| Signature | Description |
|---|---|
# 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
| Property | Type | Description |
|---|---|---|
DefaultLabelLengthMm { get; init; } | double? | Label length used when the ZPL sets no ^LL (null: the checker's default). |
Dpi { get; init; } | int | Resolution 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; } | string | The ZPL under test. |
Methods
| Method Signature | Returns | Description |
|---|---|---|
# Deconstruct(out string Zpl, out int Dpi, out IReadOnlyList<ComplianceLabel> Labels) | void |

