Click or drag to resize

ZebraGraphicsImageToImageData 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
byte[] ImageToImageData(
	Image image
)

Parameters

image
Type: System.DrawingImage
The Image object.

Return Value

Type: Byte
The raw image data from the specified 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