GraphicsUtilPrintImage(String, Int32, Int32) Method
|
Note: This API is now obsolete.
Prints an image from the connecting device file system to the connected device as a monochrome image. (Deprecated, use PrintImageFromPath)
Namespace: Zebra.Sdk.PrinterAssembly: SdkApi.Core (in SdkApi.Core.dll) Version: 4.0.3435
Syntax[ObsoleteAttribute("Use PrintImageFromPath instead.")]
void PrintImage(
string imageFilePath,
int x,
int y
)<ObsoleteAttribute("Use PrintImageFromPath instead.")>
Sub PrintImage (
imageFilePath As String,
x As Integer,
y As Integer
)[ObsoleteAttribute(L"Use PrintImageFromPath instead.")]
void PrintImage(
String^ imageFilePath,
int x,
int y
)
Parameters
- imageFilePath String
- Image file to be printed.
- x Int32
- Horizontal starting position in dots.
- y Int32
- Vertical starting position in dots.
Exceptions| Exception | Condition |
|---|
| ConnectionException | If an I/O error occurs. |
| IOException | When 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