Barcode Fonts, Components, ActiveX and .NET Windows Forms Controls, Java Servlets, 
DLLs and Barcode Scanners. IDAutomation.com, Inc., Computers Hardware, Software & Services, Tampa, FL   This site chose the Norton Secured Seal to promote trust online with consumers.    View your cart in the IDAutomation Store   


Draw Multiple Barcodes on Same Graphic

Solution(s):

To create several barcodes in the same graphic image, draw the barcode in a temporary buffered image and then copy the image to the correct position. It should look similar to the code below. Please keep in mind that the syntax is only an approximation. This method should be compatible with all graphical generation products, including the Barcode Windows Forms Control.

This information was provided by a licensed developer who used this syntax and is not supported by the IDAutomation Technical Support Staff:

// create tmp image
Image tmpImage=CreateBufferedImage( ....)
Graphics tmpGraphics=tmpImage.getGraphics();
// draw barcode in tmpGraphics
barcode.paint(tmpGraphics);
// copy to correct position on final image
finalGraphics.drawImage(tmpImage,x,y,null)

 ©Copyright 2017 IDAutomation.com, All Rights Reserved. Legal Notices.

 Barcode Fonts | Components | Scanners | Support | Contact Us

Training Videos on YouTube  Join us on Google Plus  Join us on LinkedIn  Follow us on Twitter  Like us on Facebook
Over 70% of Fortune 100 companies use IDAutomation's products to automate their businesses.