BarcodeWriterCreateBarcode Method (Byte, BarcodeWriterEncoding, Int32, Int32)

Creates (renders) a barcode representing a binary value.

Namespace:  IronBarCode
Assembly:  IronBarCode (in IronBarCode.dll) Version: 2020.5.0.0 (2020.5.0.0)
Syntax
public static GeneratedBarcode CreateBarcode(
	byte[] BinaryData,
	BarcodeWriterEncoding BarcodeType,
	int MaxWidth,
	int MaxHeight
)

Parameters

BinaryData
Type: SystemByte
The binary data which the barcode will represent.
BarcodeType
Type: IronBarCodeBarcodeWriterEncoding
Type of the barcode encoding type. Supports many popular barcode formats including QR Codes.
MaxWidth
Type: SystemInt32
The maximum width (in pixels) of the barcode image which will be rendered.
MaxHeight
Type: SystemInt32
The maximum height (in pixels) of the barcode image which will be rendered.

Return Value

Type: GeneratedBarcode
A GeneratedBarcode object which can be manipulated, annotated and saved to a System.Drawing.Image, an object, image file, PDF, MediaURL or data stream.
See Also
Download DLL or Install with Nuget