Hi,
We have created 2D Datamatrix barcode but the height and width is not equal , is it possible to have a square Datamatrix barcode which all four sides are equal . Please provide the solution at the earliest.
Thanks
Deepa
Hi,
We have created 2D Datamatrix barcode but the height and width is not equal , is it possible to have a square Datamatrix barcode which all four sides are equal . Please provide the solution at the earliest.
Thanks
Deepa
Hi Deepa,
Hi,
Thanks for your reply.
Can you tell me 100 which you have set as height , is this in Pixel/inches/milimeters ?
Thanks
Deepa
Hi Deepa,
Hi,
I tried to set barcode image height and width to 144 pixels , but I see that the image size has not changed . If I set xdimension and ydimension using setxDimension and setyDimension to 1.2 then i see the image size changes . Please let me know for what these methods to set the dimension x and y are used .My code is as below:
barCodeBuild.setxDimension(1.2f);
barCodeBuild.setyDimension(1.2f);
barCodeBuild.setCodeTextColor(Color.WHITE);
barCodeBuild.setCodeText(inputXMLData);
barCodeBuild.setCodeLocation(CodeLocation.NONE); //Set Width
barCodeBuild.setImageWidth(144); //Set Height
barCodeBuild.setImageHeight(144);
Thanks
Deepa
Hi Deepa,
Thank you for writing back.
Please note, in order to control the image size by explicitly specifying the height and the width of the image, you also need to set the BarCodeBuilder.setAutoSize() to false.
Below are some related articles for your reference,
Hi,
Thanks for your reply.
I have one more requirement , how can we embed a 1 bit barcode TIFF image into JSP or HTML page ?
Please provide me the solution , Thanks in advance.
Thanks
Deepa
Hi Deepa,