public record SnapshotElement
One element of a semantic snapshot: what was drawn where (dots), independent of the pixels.
Constructors
| Signature | Description |
# SnapshotElement(string Kind, string Command, string Content, int X, int Y, int Width, int Height, string? Symbology = default, int Line = 0) | One element of a semantic snapshot: what was drawn where (dots), independent of the pixels. Kind: text, barcode, shape, graphic or other. · Command: ZPL command with prefix, e.g. "^A0", "^BC", "^GB". · Content: Text as printed, barcode data as the scanner reads it (control characters as ‹GS›), shape/graphic parameters. · X: Left edge in dots. · Y: Top edge in dots. · Width: Width in dots. · Height: Height in dots. · Symbology: Barcode symbology (barcodes only). · Line: 1-based ZPL source line (0 when unknown). |
Properties
| Property | Type | Description |
Command { get; init; } | string | ZPL command with prefix, e.g. "^A0", "^BC", "^GB". |
Content { get; init; } | string | Text as printed, barcode data as the scanner reads it (control characters as ‹GS›), shape/graphic parameters. |
Height { get; init; } | int | Height in dots. |
Kind { get; init; } | string | text, barcode, shape, graphic or other. |
Label { get; } | string | "text "FROM"", "barcode ^BC Code128 "(00)…"". |
Line { get; init; } | int | 1-based ZPL source line (0 when unknown). |
Symbology { get; init; } | string | Barcode symbology (barcodes only). |
Width { get; init; } | int | Width in dots. |
X { get; init; } | int | Left edge in dots. |
Y { get; init; } | int | Top edge in dots. |
Methods
| Method Signature | Returns | Description |
# Deconstruct(out string Kind, out string Command, out string Content, out int X, out int Y, out int Width, out int Height, out string Symbology, out int Line) | void | |