public static class ImagePrintJob2.Builder extends PrintJob.Builder
Modifier and Type | Field and Description |
---|---|
protected List<Bitmap> |
bitmaps |
flags, printToAny
Modifier and Type | Method and Description |
---|---|
ImagePrintJob2.Builder |
bitmap(Bitmap bitmap)
Add a bitmap to print in this PrintJob.
|
ImagePrintJob2 |
build()
Builds an instance.
|
flag, flags, includePrintGroups, printJob, printToAny
public Builder(Context context)
public ImagePrintJob2.Builder bitmap(Bitmap bitmap)
IllegalArgumentException
- if the bitmap's height is greater than
ImagePrintJob2.MAX_HEIGHT
. If you need to print an image that is greater than
ImagePrintJob2.MAX_HEIGHT
pixels in height you must break it into multiple pieces.public ImagePrintJob2 build()
build
in class PrintJob.Builder