Click or drag to resize

ZebraGraphicsIDrawImage Method (Byte, Int32, Int32, Int32, Int32, RotationType)

Draws the image into the specified rectangle.

Namespace:  Zebra.Sdk.Card.Graphics
Assembly:  SdkApi_Card_Core (in SdkApi_Card_Core.dll) Version: 2.14.1989
Syntax
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.
Exceptions
ExceptionCondition
ZebraIllegalArgumentExceptionIf there is an error with the provided arguments.
ZebraCardExceptionIf an error occurs while rendering the image.
See Also