Click or drag to resize

ZebraCardGraphics.DrawImage 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_Desktop (in SdkApi_Card_Desktop.dll) Version: 2.14.1989
Syntax
public void DrawImage(
	byte[] imageData,
	ImagePosition position,
	int width,
	int height,
	float transparency,
	RotationType rotationType
)

Parameters

imageData
Type:System.Byte[]
The bitmap image data.
position
Type: Zebra.Sdk.Card.Graphics.Enumerations.ImagePosition
The position of the image in the rectangle.
width
Type: System.Int32
The width of the rectangle.
height
Type: System.Int32
The height of the rectangle.
transparency
Type: System.Single
The transparency level.
rotationType
Type: Zebra.Sdk.Card.Graphics.Enumerations.RotationType
The rotation type for the image.

Implements

ZebraGraphicsI.DrawImage(Byte[], ImagePosition, Int32, Int32, Single, RotationType)
Exceptions
ExceptionCondition
ZebraIllegalArgumentExceptionIf there is an error with the provided arguments.
ZebraCardExceptionIf an error occurs while rendering the image.
See Also