VirtualLabelEventArgs
public sealed class VirtualLabelEventArgs : EventArgsA label rendered by ZplVirtualPrinter.
Constructors
| Signature | Description |
|---|---|
# VirtualLabelEventArgs(int connectionId, EndPoint remote, int index, byte[] data, string filePath) | A label rendered by ZplVirtualPrinter. |
Properties
| Property | Type | Description |
|---|---|---|
ConnectionId { get; } | int | Sequential id of the TCP connection (one renderer/printer memory per connection). |
Cut { get; init; } | ZplLabelCut | Cut decision of the label (^MM / ^PQ rules, see ZplCutPlan); null for EPL or container formats. |
Data { get; } | byte[] | Encoded image (PNG by default, see ZplVirtualPrinter.RenderSettings). |
FilePath { get; } | string | File written to ZplVirtualPrinter.OutputDirectory, if any. |
Index { get; } | int | Running label number across the printer's lifetime. |
RemoteEndPoint { get; } | EndPoint | |
Rfid { get; init; } | RfidLabelResult | Result of the tag simulation for this label (ZplVirtualPrinter.RfidSimulator), null when off or not an RFID label. |
Voided { get; init; } | bool | RFID encoding failed (ZplFaultKind.RfidVoid or the tag simulation): the label printed with VOID across it and is retried. |

