Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

I use LeadTools and want to read barcodes.
Started by Gabe-Forum@LEADTOOLS.com at 05-26-2006 9:56. Topic has 0 replies.

Print Search « Previous Thread Next Thread »
  05-26-2006, 9:56
Gabe-Forum@LEADTOOLS.com is not online. Last active: 12/30/2008 3:55:49 PM Gabe-Forum@LEADTOOLS.com



Top 25 Posts
Joined on 04-27-2005
Posts 236
I use LeadTools and want to read barcodes.
Reply Quote

This code section transfers the image from a Lead control to the AX4 barcode control.

LEAD1.ColorRes 1, 0, 0, 0
hMemDC = CreateCompatibleDC(LEAD1.GetBitmapDC)
LEAD1.ReleaseBitmapDC
hObject = LEAD1.GetDDB(hMemDC)

Ax41.Bitmap = hObject
Ax41.DpiX = LEAD1.BitmapXRes
Ax41.DpiY = LEAD1.BitmapYRes
Ax41.ReadBarcode

DeleteObject(hObject)
DeleteDC(hMemDC)


   Report 
Post
LEAD Support Fo... » LEAD/Axtel Barc... » LEAD/Axtel FAQ » I use LeadTools and want to read barcodes.

Powered by Community Server, by Telligent Systems