I am trying out ReadBarcodeFromLocalFile, but I am getting this error: String reference not set to an instance of a String.\r\nParameter name: s
I am testing it through the code example I have downloaded from the Aspose website. I have created a test barcode using the following settings/properties:
String name = "sample-barcode"; String text = "Aspose.BarCode"; String type = "QR"; String format = "PNG"; String enableChecksum = "NO";
Now I am trying to read it from my local disc using basically the default settings that was in the sample project I have downloaded.
String name = "sample-barcode.PNG"; String type = "QR"; String checksumValidation = "NO"; bool stripFnc = false; int rotationAngle = 0; String url = null;
I have tried setting the url variable to an empty string, but it also doesn’t work.
Could you please assist me with letting me know how I am supposed to do this? Could you also please explain wha the url variable is for and what I need to populate it with?