ProfilePrintImage Method (ZebraImageI, Int32, Int32, Int32, Int32, Boolean)
|
Prints an image to the connected device as a monochrome image.
Namespace:
Zebra.Sdk.Device
Assembly:
SdkApi_Core (in SdkApi_Core.dll) Version: 2.14.1869
Syntax public void PrintImage(
ZebraImageI image,
int x,
int y,
int width,
int height,
bool insideFormat
)
Public Sub PrintImage (
image As ZebraImageI,
x As Integer,
y As Integer,
width As Integer,
height As Integer,
insideFormat As Boolean
)
public:
virtual void PrintImage(
ZebraImageI^ image,
int x,
int y,
int width,
int height,
bool insideFormat
) sealed
Parameters
- image
- Type: Zebra.Sdk.GraphicsZebraImageI
The image to be printed. - x
- Type: SystemInt32
Horizontal starting position in dots. - y
- Type: SystemInt32
Vertical starting position in dots. - width
- Type: SystemInt32
Desired width of the printed image. Passing a value less than 1 will preserve original width. - height
- Type: SystemInt32
Desired height of the printed image. Passing a value less than 1 will preserve original height. - insideFormat
- Type: SystemBoolean
Boolean value indicating whether this image should be printed by itself (false), or is part
of a format being written to the connection (true).
Implements
GraphicsUtilPrintImage(ZebraImageI, Int32, Int32, Int32, Int32, Boolean)Exceptions 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