Write barcode with text below

Discussions about barcode reading and writing
Post Reply
Posts: 5
Joined: Fri Jan 27, 2023 5:53 pm

Write barcode with text below

Post by username77 » Mon Jan 30, 2023 8:43 am

I'm using this example in c# to write on pdf directly but i dont see an option to write the string "0123456789" below the barcode
gdpicturePDF.DrawBarcode1D(Barcode1DWriterType.Barcode1DWriterCode128, "0123456789", 10, 5, 30, 8, System.Drawing.Color.DarkBlue);

Is able gdpicture to write this string like in this example:


Posts: 232
Joined: Tue Dec 18, 2018 10:09 am

Re: Write barcode with text below

Post by Hugo » Tue Jan 31, 2023 3:51 pm

Hi there,

Thanks for your question!

Regarding this, the number below the barcode is merely a translation of the value stored within the barcode. Is this correct in your case?
If so, you should already know this string value OR you can read this directly from the barcode itself using our Barcode reading methods.

Now that you have this value on your end you can draw this string underneath the barcode as you wish using this method for example:
https://www.gdpicture.com/guides/gdpict ... wText.html

Let me know if this is not what you want to do.

Hugo Cudd
Technical Support

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests