Skip to content

PrintImageDataAsync

Description

Converts an image into printer‑ready data and sends it to the printer.
Color images are converted to monochrome through binarization.

Syntax

public Task PrintImageDataAsync(object image, SIISLP800Binarization binarization)

Warning

This method returns a Task. To ensure that the operation completes and any potential exceptions are properly captured, always call it with await. Omitting await may result in the operation being terminated midway or errors may go undetected.

Parameter

image

Specify one of the following:

  • Android
    Specify an object of type Android.Graphics.Bitmap.
  • iOS
    Specify an object of type UIKit.UIImage.
binarization

Specify the binarization method for the image using SIISLP800Binarization.
Choose one of the following values:

Value Binarization method
SIISLP800Binarization.THRESHOLD Threshold
SIISLP800Binarization.ERRORDIFFUSION Error Diffusion