When converting a docx file containing a QR barcode, we are getting the BarCodeException “Required size is not allowed. Barcode can not be so small.”
The exception is raised within your sample class “CustomBarcodeGenerator” - https://docs.aspose.com/display/wordsnet/How+to+Generate+a+Custom+BarCode+Image+for+DISPLAYBARCODE+Field
We are using Aspose.Barcode version 19.10 (with .NET 4.0).
I’ve attached the code and the docx file to this message.SSCCE2.zip (20.2 KB)
Please advise how we may overcome this error.