Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Monday, April 4, 2011 6:59:21 AM(UTC)

thummel  
thummel

Groups: Registered
Posts: 7


I'm using the BARCODE1D class to create a barcode (EAN and UPCA). The "OutShowText" member is set to true so the barcode string always prints below the barcode. For UPCA, the leading digit and the check digit print to the bottom left and bottom right of the barcode bars.

Does LeadTools give the flexibility on the font or format for the numbers under the barcode? Meaning can we use a smaller font and print the complete barcode string under the barcode?.

I am using Leadtools v1.7 with C++.
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Wednesday, April 6, 2011 12:01:41 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

Was thanked: 1 time(s) in 1 post(s)

Currently, there are no functions in LEADTOOLS that let you control the font or text position.
However, what you could do is write the barcode without text (disable the show text option), then read the barcode back to obtain the full string with the check digit, then draw the text yourself anywhere you want and using any font.

To draw text on an image, you can obtain a device context handle (HDC) from the image using the L_CreateLeadDC function (C DLL API) or the LBitmapBase::CreateLeadDC function (C++ Class Library).

After that, use Windows GDI functions to draw on the bitmap's DC.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.055 seconds.