Click or drag to resize

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

Draws the image at the specified image position in the rectangle.

Namespace:  Zebra.Sdk.Card.Graphics
Assembly:  SdkApi_Card_Core (in SdkApi_Card_Core.dll) Version: 2.14.1989
Syntax
void DrawImage(
	byte[] imageData,
	ImagePosition position,
	int width,
	int height,
	float transparency,
	RotationType rotationType
)

Parameters

imageData
Type: SystemByte
The bitmap image data.
position
Type: Zebra.Sdk.Card.Graphics.EnumerationsImagePosition
The position of the image in the rectangle.
width
Type: SystemInt32
The width of the rectangle.
height
Type: SystemInt32
The height of the rectangle.
transparency
Type: SystemSingle
The transparency level.
rotationType
Type: Zebra.Sdk.Card.Graphics.EnumerationsRotationType
The rotation type for the image.
Exceptions
ExceptionCondition
ZebraIllegalArgumentExceptionIf there is an error with the provided arguments.
ZebraCardExceptionIf an error occurs while rendering the image.
See Also