Click or drag to resize

ZebraCardGraphicsRotateImage Method (Byte, Int32, Int32, RotationType)

Rotates the image by the specified rotationType and then resizes it.

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

Parameters

imageData
Type: SystemByte
The bitmap image source data.
width
Type: SystemInt32
The rotated image width.
height
Type: SystemInt32
The rotated image height.
rotationType
Type: Zebra.Sdk.Card.Graphics.EnumerationsRotationType
The rotation type.

Return Value

Type: Byte
The rotated and resized bitmap image data.

Implements

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