QR Code Image Sample - pqScan.com
.NET Barcode Creator Encoding Barcode Image in .NET Online Demo Download Trial Purchase Now

How to Generate Barcode Image

back to home  >  .NET Barcode Scanner SDK  >  Generate Barcodes in .NET

Benefits

Properties in .NET Barcode Creator SDK

Property Name Property Type Support for All value Default value
Default value BarCodeType All(1d + 2D Barcode) QRCode, Aztec, PDF417, DataMatrix, Code128, Code39, EAN8, EAN13, UPCA Code128
Data string All(1d + 2D Barcode) QRCode: ISO/ICE 8859-1 and UTF-8(CJK)
Aztec: characters 0-127 for ASCII, 128-255 for ISO 8859-1
PDF417: characters 0-127 for ASCII, 128-255 for ISO 8859-1
DataMatrix: characters 0-127 for ASCII, 128-255 for ISO 8859-1
Code128: all 128 ASCII characters (Char from 0 to 127)
Code39: 0 - 9, A - Z, - (Dash), $ (Dollar), % (Percentage), (Space), . (Point), / (Slash), + (Plus)
EAN8:0 - 9(Data Length: 7 digits only, automatic add last check sum )
EAN13: 0 - 9(Data Length: 12 digits only, automatic add last check sum )
UPCA: 0 - 9(Data Length: 11or 12 digits only, automatic add last check sum )
123456789
Width int All(1d + 2D Barcode) >0 200
Height int All(1d + 2D Barcode) >0 100
ShowText bool 1D barcode True/Flase True
UseUTF8 bool QR Code barcode True/Flase Flase
Flase ErrorCorrectionLevelMode QR Code barcode L,M,Q,H L
AztecLayer LayerMode Aztec barcode Compact (1 - 4), Normal(5 - 32) Compact1
AztecErrorCorrection int Aztec barcode 1 - 100 33
PDF417Compact bool PDF-417 barcode True/Flase False
DataMatrixShape SymbolShapeMode Data Matrix barcode Auto, Square, Rectangle Auto
BarcodeColor Color All(1d + 2D Barcode) All system color Black
BackgroundColor Color All(1d + 2D Barcode) All system color White
PictureFormat ImageFormat All(1d + 2D Barcode) Bmp, Gif, Jpeg, Png, Tiff Jpeg

Methods in .NET Barcode Creator SDK

We provide flexible APIs to generate barcodes. More details please see online documentation.

// encode barcode and paint on Bitmap object
public Bitmap CreateBarcode()

// create barcode and draw to image file
public void CreateBarcode(string filename)

// generate barcode and paint on Stream object
public void CreateBarcode(Stream stream)

// make barcode and encode on byte[] object
public byte[] CreateBarcodeInBytes()
.NET Barcode Creator QR Code Creator in .NET Data Matrix Creator in .NET PDF 417 Creator in .NET Aztec Code Creator in .NET EAN 13 Creator in .NET EAN 8 Creator in .NET UPC A Creator in .NET Code 128 Creator in .NET Code 39 Creator in .NET