borderAndreaVB free resources for Visual Basic developersborder

AndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2008 Andrea Tincani

AndreaVB Home | News Home | Forum Home | Downloads | Register | Search | PM | Profile

Next Topic (PDA Bulk Messages Software) New Topic Post Reply
AndreaVB OnLine : News : How to print barcode images with Barcode Professional SDK for .NET
Poster Resource
Neodynamic
Level: Sage

Registered: 08-12-2005
Posts: 55
icon How to print barcode images with Barcode Professional SDK for .NET

As you probably already know, most printing jobs within .NET Framework are performed by using the PrintDocument class under System.Drawing.Printing namespace. The PrintDocument class is used to set the properties that describe what and where to print content such us strings, images and so on.
The main method the PrintDocument class features is Print which starts the document's printing process. After Print method is invoked, the PrintDocument raises a PrintPage event for each page to be printed. Here is where you should add your printing logic to an event handler for that event.
If your application needs to feature barcoding capabilities, it's also probably that printing documents containing barcode images are required as well.
Barcode Professional control features an overloaded method called DrawOnCanvas which lets you to draw the barcode image on any GDI+ Graphics object - an instance of System.Drawing.Graphics class. The PrintDocument's PrintPage event exposes a Graphics object where to paint the page content and here is where that Graphics object must be passed to the DrawOnCanvas method in order to get the barcode image printed.
This guide describes common scenarios regarding barcode printing using the PrintDocument class and Barcode Professional's DrawOnCanvas method:
- How to print barcodes using PrintDocument class
- How to print scaled barcodes using PrintDocument class
- How to print barcodes that need to fit a given area using PrintDocument class

Links:
This Demo
More Demos
Download Barcode Professional SDK for .NET
More Information about Neodynamic Barcode Professional SDK for .NET



Neodynamic
.NET Components & Controls
http://www.neodynamic.com

01-09-2008 at 04:30 PM
View Profile Send Email to User Show All Posts Visit Homepage | Add Comment
AndreaVB OnLine : News : How to print barcode images with Barcode Professional SDK for .NET
Next Topic (PDA Bulk Messages Software)New Topic Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Il portale per lui e lei | Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2008 Andrea Tincaniborder