Click or drag to resize

ZebraCardGraphicsDrawImage Method (Byte, Int32, Int32, Int32, Int32, RotationType)

Draws the image into the specified rectangle.

Namespace:  Zebra.Sdk.Card.Graphics
Assembly:  SdkApi_Card_Desktop (in SdkApi_Card_Desktop.dll) Version: 2.14.1989
Syntax
public void DrawImage(
	byte[] imageData,
	int x,
	int y,
	int width,
	int height,
	RotationType rotationType
)

Parameters

imageData
Type: SystemByte
The bitmap image data.
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.
rotationType
Type: Zebra.Sdk.Card.Graphics.EnumerationsRotationType
The rotation of the image.

Implements

ZebraGraphicsIDrawImage(Byte, Int32, Int32, Int32, Int32, RotationType)
Exceptions
ExceptionCondition
ZebraIllegalArgumentExceptionIf there is an error with the provided arguments.
ZebraCardExceptionIf an error occurs while rendering the image.
See Also