Announcements
Hi everyone.
I generared a barcode with this code in the HtmlText property:
"<img src=""https://www.barcodesinc.com/generator/image.php?code=" &lbltransCode& "&style=197&type=C128B&width=500&height=150&xres=1&font=3""/>"
but the image is too small. Is there a way to make the barcode image bigger?
You should be able to use the same expression that is inside the src attribute of the <img> tag inside your HtmlText in an Image control - and you can resize that control to be the size you want:
"https://www.barcodesinc.com/generator/image.php?code=" & lbltransCode& " &style=197&type=C128B&width=500&height=150&xres=1&font=3"
You can also update the xres parameter to make it larger. The image below shows a quite large barcode using this:
Hope this helps!
Hi @CarlosFigueira.
Thank you very much for the example. I tried it and it's work!
I have another question if you can answer. What is the xres parameter in this case? ( i tried to find in the internet but i did't understand nothing)
To be frank, I just tried changing some of those parameters, and that made the barcode bigger :-). I guess that it means something like the x (horizontal) resolution of the barcode ¯\_(ツ)_/¯
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 408
timl 340 Super User 2026 Season 1
Vish WR 319