Click or drag to resize

BarcodeUtilDrawBarcode Method

Draws the selected barcode symbology into a user defined rectangle.

Namespace:  Zebra.Sdk.Card.Graphics.Barcode
Assembly:  SdkApi_Card_Desktop (in SdkApi_Card_Desktop.dll) Version: 2.14.1989
Syntax
void DrawBarcode(
	int x,
	int y,
	int width,
	int height
)

Parameters

x
Type: SystemInt32
The x coordinate.
y
Type: SystemInt32
The y coordinate.
width
Type: SystemInt32
The width of the rectangle.
height
Type: SystemInt32
The height of the rectangle.
Exceptions
ExceptionCondition
ZebraIllegalArgumentExceptionIf any of the arguments are invalid or the value to encode is not valid for the selected barcode symbology type.
ZebraCardExceptionIf an error occurs while rendering the barcode image.
See Also