Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 2.16 KB

slipprintjob_setbitmap_49606997.md

File metadata and controls

35 lines (25 loc) · 2.16 KB
-api-id -api-type -api-device-family-note
M:Windows.Devices.PointOfService.SlipPrintJob.SetBitmap(System.UInt32,Windows.Graphics.Imaging.BitmapFrame,Windows.Devices.PointOfService.PosPrinterAlignment,System.UInt32)
winrt method
xbox

Windows.Devices.PointOfService.SlipPrintJob.SetBitmap

-description

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 slip printer station, so that you can use the PrintSavedBitmap method to add that information to the print job later.

-parameters

-param bitmapNumber

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.

-param bitmap

Information about the bitmap that you want to print.

-param alignment

An enumeration value that specifies a standard horizontal placement on the page for the bitmap, such as left-aligned, centered, or right-aligned.

-param width

The width to use for printing the bitmap, expressed in the unit of measurement indicated by the ClaimedPosPrinter.MapMode property.

-remarks

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.

-examples

-see-also

SetBitmap(UInt32, BitmapFrame, PosPrinterAlignment), SetCustomAlignedBitmap(UInt32, BitmapFrame, UInt32), SetCustomAlignedBitmap(UInt32, BitmapFrame, UInt32, UInt32), PrintSavedBitmap, ClaimedPosPrinter.MapMode, PosPrinterAlignment