Click or drag to resize

IZebraImageFactoryGetImage Method (Stream)

Creates an instance of ZebraImageI from the image data specified in imageData.

Namespace:  Zebra.Sdk.Graphics.Shared
Assemblies:   ZebraPrinterSdk (in ZebraPrinterSdk.dll) Version: 2.15.2521
  ZebraPrinterSdk (in ZebraPrinterSdk.dll) Version: 2.15.2521
  ZebraPrinterSdk (in ZebraPrinterSdk.dll) Version: 2.15.2521
  ZebraPrinterSdk (in ZebraPrinterSdk.dll) Version: 2.15.2521
Syntax
ZebraImageI GetImage(
	Stream imageData
)

Parameters

imageData
Type: System.IOStream
A stream containing the image data.

Return Value

Type: ZebraImageI
An image formatted for Zebra Printers.
Exceptions
ExceptionCondition
IOExceptionIf the file could not be found, open, or is an unsupported graphic.
ArgumentExceptionIf imageData is null.
See Also