ZplDocument
public sealed class ZplDocumentTyped object model of a ZPL stream.
Constructors
| Signature | Description |
|---|---|
# ZplDocument() |
Properties
| Property | Type | Description |
|---|---|---|
Commands { get; } | IEnumerable<ZplCommandBase> | All commands of all formats in order. |
Formats { get; } | List<ZplFormat> | |
LabelFormats { get; } | IEnumerable<ZplFormat> | Only the ^XA…^XZ label formats. |
Methods
| Method Signature | Returns | Description |
|---|---|---|
static # Parse(string zpl) | ZplDocument | |
# ToString() | string | |
# ToZpl(ZplOutputOptions? options = default) | string | Serializes the document in the layout of options (pretty-printed, minified …; null = like ZplDocument.ToString). The result parses to the same commands and renders pixel-identically. |

