PrinterUtilConvertGraphic Method (String, ZebraImageI, Stream)
|
Encodes supplied image in either ZPL or CPCL after dithering and resizing.
Namespace:
Zebra.Sdk.Printer
Assembly:
SdkApi_Core (in SdkApi_Core.dll) Version: 2.13.898
Syntax public static void ConvertGraphic(
string filePathOnPrinter,
ZebraImageI image,
Stream convertedGraphicOutputStream
)
Public Shared Sub ConvertGraphic (
filePathOnPrinter As String,
image As ZebraImageI,
convertedGraphicOutputStream As Stream
)
public:
static void ConvertGraphic(
String^ filePathOnPrinter,
ZebraImageI^ image,
Stream^ convertedGraphicOutputStream
)
Parameters
- filePathOnPrinter
- Type: SystemString
The printer file path you wish to store the image to. - image
- Type: Zebra.Sdk.GraphicsZebraImageI
ZebraImage to be dithered and resized. - convertedGraphicOutputStream
- Type: System.IOStream
Stream to store encoded image data.
Exceptions See Also