Click or drag to resize

ZebraCardGraphicsImageToImageData Method

Converts an image to a byte array.

Namespace:  Zebra.Sdk.Card.Graphics
Assembly:  SdkApi_Card_Desktop (in SdkApi_Card_Desktop.dll) Version: 2.14.1989
Syntax
public byte[] ImageToImageData(
	Image image
)

Parameters

image
Type: System.DrawingImage
The Image object.

Return Value

Type: Byte
The raw image data from the specified image.

Implements

ZebraGraphicsImageToImageData(Image)
Exceptions
ExceptionCondition
ZebraIllegalArgumentExceptionIf there is an error with the provided arguments.
ZebraCardExceptionIf an error occurs while converting the Image to raw data.
See Also