ReadonlycfgPublic so advanced users (and your own components) can read cfg if needed
StaticfromBack-compat alias if you like the old name
Multiline text block for addresses/blocks (size and lineHeight rounded to min 1)
Caption text with symmetric h/w and optional wrap width (size rounded to min 1)
Add a ZPL comment (^FX) - useful for debugging and documentation
Set global default font (^CF) - height/width rounded to ints with a minimum of 1.
Emit the final ZPL string. Untouched tokens re-emit byte-identical.
Add metadata as ZPL comments (^FX) for debugging and traceability
StaticcreateStaticparse
ZPL Label class
Remarks
The
Labelclass provides a fluent, immutable API for constructing ZPL (Zebra Programming Language) labels. It supports adding text, barcodes, boxes, images, and RFID fields, as well as parsing existing ZPL strings. Each method returns a newLabelinstance with the added elements, allowing for method chaining.