public record ZplCommand
A single ZPL command, e.g. ^FO50,100 → Prefix '^', Name "FO", Parameters "50,100".
Constructors
| Signature | Description |
# ZplCommand(char Prefix, string Name, string Parameters) | A single ZPL command, e.g. ^FO50,100 → Prefix '^', Name "FO", Parameters "50,100". |
Properties
| Property | Type | Description |
Length { get; init; } | int | Length of the command in the source, prefix and parameters included. |
Name { get; init; } | string | |
Offset { get; init; } | int | Character offset of the command prefix in the parsed source (-1 when not parsed from text). |
Parameters { get; init; } | string | |
Prefix { get; init; } | char | |
Methods
| Method Signature | Returns | Description |
# Args(char delimiter = ',') | string[] | Parameters split at the current delimiter (default ','). |
# Deconstruct(out char Prefix, out string Name, out string Parameters) | void | |