BarcodeSizing
public enum BarcodeSizingHow the barcode is fitted into Barcode.TargetWidth × Barcode.TargetHeight.
Values
| Name | Value | Description |
|---|---|---|
None | 0 | Natural size from the module width and bar height; the target is ignored. |
Fill | 1 | Stretch to fill the target (width and height scaled independently). |
FitProportional | 2 | Scale uniformly to fit inside the target, positioned by Barcode.Alignment. |
AutoSize | 3 | Largest whole-pixel module width whose symbol fits the target (bars stay crisp), positioned by Barcode.Alignment. |

