Creates new Bitmap with rendered barcode and returns byte array containg the image.

Namespace: Lesnikowski.Barcode
Assembly:  Barcode (in Barcode.dll)
Version: 1.0.5.40001

Syntax

C#
public byte[] Render(
	ImageType imageType,
	float xDpi,
	float yDpi
)
Visual Basic (Declaration)
Public Function Render ( _
	imageType As ImageType, _
	xDpi As Single, _
	yDpi As Single _
) As Byte()
Visual C++
public:
virtual array<unsigned char>^ Render (
	ImageType imageType, 
	float xDpi, 
	float yDpi
) sealed

Parameters

imageType
ImageType
Format of the output image.
xDpi
Single
Horizontal resolution in dots per inch.
yDpi
Single
Vertical resolution in dots per inch.

Return Value

Byte array containg barcode image in specified image format.

See Also