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

Namespace: Limilabs.Barcode
Assembly: Barcode (in Barcode.dll) Version: 2.0.0.20

Syntax

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

Parameters

imageType
Type: Limilabs.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