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

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

Syntax

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

Parameters

imageType
Type: Lesnikowski.Barcode..::.ImageType
Format of the output image.
xDpi
Type: System..::.Single
Horizontal resolution in dots per inch.
yDpi
Type: System..::.Single
Vertical resolution in dots per inch.

Return Value

Byte array containing barcode image in specified image format.

See Also