Using XDimension to create barcodes

Hey,

We are using Aspose.Barcode to generate barcodes for users. Since updating to Aspose.Barcode 22.10, we’ve been having issues with some users generating barcodes with too much white space. After this issue we set the XDimension and padding values to 1.

For some users this works fine, but for others its breaking their qr codes generated…
My question is, how do we fix the barcode I’ve linked below and how do we use XDimension? As I understand its a ratio that the measurements scale against? Happy to provide generation options for the request

Thanks,

Charlie

Support32715 Working 24Jan2023 15.34PM.jpg (88.5 KB)
Support32715 Not Working 24Jan2023 15.41PM.jpg (33.3 KB)

@charlie.lancaster,

Please see the document with example codes and details on how to use XDimension and Paddings for adjusting barcodes for your reference.