Click or drag to resize

ZebraGraphicsI.RotateImage Method (Byte[], RotationType)

Rotates the image by the specified rotationType.

Namespace:  Zebra.Sdk.Card.Graphics
Assembly:  SdkApi_Card_Core (in SdkApi_Card_Core.dll) Version: 2.14.1989
Syntax
byte[] RotateImage(
	byte[] imageData,
	RotationType rotationType
)

Parameters

imageData
Type:System.Byte[]
The bitmap image source data.
rotationType
Type: Zebra.Sdk.Card.Graphics.Enumerations.RotationType
The rotation type.

Return Value

Type:Byte[]
The rotated bitmap image data.
Exceptions
ExceptionCondition
ZebraIllegalArgumentExceptionIf there is an error with the provided arguments.
ZebraCardExceptionIf an error occurs while rotating the image.
See Also