Click or drag to resize

ZebraGraphicsIRotateImage Method (Byte, Int32, Int32, RotationType)

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

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