Click or drag to resize

ZebraCardGraphics.RotateImage Method (Byte[], RotationType)

Rotates the image by the specified rotationType.

Namespace:  Zebra.Sdk.Card.Graphics
Assembly:  SdkApi_Card_Desktop (in SdkApi_Card_Desktop.dll) Version: 2.14.1989
Syntax
public 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.

Implements

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