I got a .docx template file with a DisplayBarcode Field Code to paint QR codes which is saved correctly in .docx but when I try to save it in pdf the file does not show the QR code but shows the string “Error! Bar code generator is not set”.
image.png (110.7 KB)
image.png (54.0 KB)
I tried to instantiate the field Document.FieldOptions.BarcodeGenerator with a custom class which implements IBarCodeGenerator but I do not know how to build the QR image inside the method GetBarcodeImage.
Is there another way to avoid the issue?
Note: I am using the last version of Aspose.Words.