ZplOptimization
public enum ZplOptimizationLevel of ZplOptimizer.
Values
| Name | Value | Description |
|---|---|---|
None | 0 | ZPL is left as generated. |
Safe | 1 | Removes state commands (^BY, ^CF, ^FW, ^CI) that repeat the value already in effect within the same format. Line breaks and all other commands stay untouched. |
Aggressive | 2 | ZplOptimization.Safe plus: line breaks between commands removed (so ^FO, ^A, ^FB … of a field form one run), default trailing ^GB parameters stripped (",B,0"), and ^GFA data re-encoded in the requested GraphicCompression (default: whichever is shortest). |

