![]() |
Aspose.Barcode for Python via Java Generation and Recognition API docs
|
Specifies the different types of automatic sizing modes. More...
Inherits Enum.
Static Public Attributes | |
int | NONE = 0 |
int | NEAREST = 1 |
int | INTERPOLATION = 2 |
Specifies the different types of automatic sizing modes.
Default value is AutoSizeMode.NONE. This sample shows how to create and save a BarCode image.
generator = BarcodeGenerator(EncodeTypes.DATA_MATRIX) generator.setAutoSizeMode(AutoSizeMode.NEAREST) generator.getBarCodeWidth().setMillimeters(50) generator.getBarCodeHeight().setInches(1.3f) generator.save("test.png", BarCodeImageFormat.PNG)
|
static |
|
static |
|
static |