Represents a barcode printer component. It can print, export to bitmap or draw barcodes on custom Graphics surface.
Namespace: MindFusion.Barcodes.WinForms
Assembly: MindFusion.Barcodes.WinForms
C#
![]() |
---|
public class BarcodePrinter : Component |
Visual Basic
![]() |
---|
Public Class BarcodePrinter |
This component draws barcode symbols in format specified via Format property. The content encoded in the barcode is set via Content. For QR (Quick Response) codes, you can specify error correction level via QRCorrectionLevel property. You can customize barcode appearance by setting BackColor, ForeColor and Font properties.
To export the barcode to a bitmap image, call one of the CreateImage overloads, and then call the Image.Save method to save it into a file. To print barcodes on paper, call the Print method. To draw on custom Graphics surface, call one of the Draw overloaded methods.
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
MindFusion.Barcodes.WinForms.BarcodePrinter