Click or drag to resize

ZebraCardGraphicsExtractHalfPanelImageData Method

Attempts to identify and extract the color and non-color half panel regions of the source image.

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

Parameters

imageData
Type: SystemByte
The 24bpp bitmap color image data.

Return Value

Type: Byte
The extracted half panel color image data.

Implements

ZebraGraphicsIExtractHalfPanelImageData(Byte)
Exceptions
ExceptionCondition
ZebraIllegalArgumentExceptionIf imageData is invalid or the printer model is not supported.
ZebraCardExceptionIf an error occurs while extracting the half panel image data.
Remarks
  • For ZMotif Series 7 and ZC Series printers only.
  • The printer model must be set prior to calling this method. (ZebraCardGraphics(ZebraCardPrinter zebraCardPrinter) or PrinterModel)"/>
See Also