Free Support Forum - aspose.com

BarcodeCustomSize Not available in VB.net?

I’m trying to resize a barcode in VB.net and it appears as though several options in Aspose.Barcode.BarcodeGenerator.Parameters are somewhere else or have been deprecated.

Is there another way to resize the barcode image in VB.net?
image.png (66.4 KB)

image.png (35.3 KB)

@nathanbartell,

Thanks for the screenshots.

I tested the sample code segment in a simple VB.NET project (attached), it works fine (it generates the barcode image fine) and I do not find any error (compile time or runtime). Please refer to the attached project and try it.
testproject.zip (1.3 MB)

If you find any issue, kindly do create a sample project (runnable), zip the project and post us, we will check it soon.