zplCore.comzplCore.com

BarcodeSizing

public enum BarcodeSizing

How the barcode is fitted into Barcode.TargetWidth × Barcode.TargetHeight.

Values

NameValueDescription
None0Natural size from the module width and bar height; the target is ignored.
Fill1Stretch to fill the target (width and height scaled independently).
FitProportional2Scale uniformly to fit inside the target, positioned by Barcode.Alignment.
AutoSize3Largest whole-pixel module width whose symbol fits the target (bars stay crisp), positioned by Barcode.Alignment.