QR code generation

Hi,

I’m struggling to understand the rather messy BarCodeBuilder class.
The javadoc for method setGraphicsUnit() vaguely refers to some System.Drawing.GraphicsUnit for which I cannot find any information.
Please direct me to the relevant documentation.

Thanks
Mario

Hi Mario,


Thank you for contacting support. Please refer to the following help topic:
http://www.aspose.com/docs/display/barcodejava/Set+Size+Unit+for+the+Barcode+Image

Please feel free to reply us in case of any confusion or questions.

Hi Imran,

thanks for the suggestion. This helped in my case.

The class GraphicsUnit is not documented in the javadoc, neither on the Aspose site nor in the product. Moreover, as said in my previous message, the setGraphicsUnit() method is wrongly documented, making reference to System.Drawing.GraphicsUnit, which is quite confusing.

All in all, the javadoc seems to be rather outdated and incomplete.

Regards
Mario

Hi Mario,


We are currently validating your recent concerns about the javadoc, and we will shortly get back to you with updates in this regard.

Please accept our apologies for your inconvenience.
Hi Mario,

Thank you for the inquiry.
mrossi:

The class GraphicsUnit is not documented in the javadoc, neither on the Aspose site nor in the product. Moreover, as said in my previous message, the setGraphicsUnit() method is wrongly documented, making reference to System.Drawing.GraphicsUnit, which is quite confusing.

All in all, the javadoc seems to be rather outdated and incomplete.
You are right that setGraphicsUnit method is not documented in the Aspose.BarCode for Java API reference docs. We'll check and fix it soon. For its .NET version, it references to the System.Drawing.GraphicsUnit, but it's not the case with its Java version. In the java version, it takes an int parameter where we could pass a value like this com.aspose.barcode.GraphicsUnit.Point. I've updated complete namespace of GraphicsUnit in the referred help topic.

Please let us know in case of any confusion or questions.