-api-id | -api-type | -api-device-family-note |
---|---|---|
M:Windows.Devices.PointOfService.IReceiptOrSlipJob.SetBitmap(System.UInt32,Windows.Graphics.Imaging.BitmapFrame,Windows.Devices.PointOfService.PosPrinterAlignment,System.UInt32) |
winrt method |
xbox |
Saves information about a bitmap, along with the width and a standard horizontal placement that you want to use to print that bitmap on the receipt or slip printer station, so that you can use the PrintSavedBitmap method to add that information to the print job later.
The number that you want to assign to this bitmap. You can set two bitmaps, numbered 1 and 2. Use this number with the PrintSavedBitmap method later to add the print instructions to the print job.
Information about the bitmap that you want to print.
An enumeration value that specifies a standard horizontal placement on the page for the bitmap, such as left-aligned, centered, or right-aligned.
The width to use for printing the bitmap, expressed in the unit of measurement indicated by the ClaimedPosPrinter.MapMode property.
If the printer for the print job has non-volatile bitmap storage, this method saves the bitmap to the printer hardware, which can cause wear and damage to the flash storage for the printer.
SetBitmap(UInt32, BitmapFrame, PosPrinterAlignment), SetCustomAlignedBitmap(UInt32, BitmapFrame, UInt32), SetCustomAlignedBitmap(UInt32, BitmapFrame, UInt32, UInt32), PosPrinterAlignment, ClaimedPosPrinter.MapMode, PrintSavedBitmap