Click or drag to resize

ProfilePrintImage Method (String, Int32, Int32)

Prints an image from the connecting device file system to the connected device as a monochrome image.

Namespace:  Zebra.Sdk.Device
Assembly:  SdkApi_Core (in SdkApi_Core.dll) Version: 2.13.898
Syntax
public void PrintImage(
	string imageFilePath,
	int x,
	int y
)

Parameters

imageFilePath
Type: SystemString
Image file to be printed.
x
Type: SystemInt32
Horizontal starting position in dots.
y
Type: SystemInt32
Vertical starting position in dots.

Implements

GraphicsUtilPrintImage(String, Int32, Int32)
Exceptions
ExceptionCondition
ConnectionExceptionIf an I/O error occurs.
IOExceptionWhen the file could not be found, opened, or is an unsupported graphic.
Remarks
If the image resolution is large (e.g. 1024x768) this method may take a long time to execute or throw an OutOfMemoryException.
See Also