Why doesn't the itext barcode fit the page

我的未来我决定 提交于 2020-01-07 06:43:11

问题


I am trying to fit a 417 barcode generated by itext into the pdf page. I just spills out of the page. Also the barcode looks different compared to the barcode in adobe acrobat.

I have tried and played around with different settings , nothing has worked so far.

The original adobe pdf has y/x ratio of 2, and x = 0.0133 inches and error correction 5. I have tried the same settings in itext.

Should I create a box first and do something to fit the image in a box. ?

来源:https://stackoverflow.com/questions/42081317/why-doesnt-the-itext-barcode-fit-the-page

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!