Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.87 KB

slipprintjob_setbitmap_489195165.md

File metadata and controls

32 lines (23 loc) · 1.87 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)
winrt method
xbox

Windows.Devices.PointOfService.SlipPrintJob.SetBitmap

-description

Saves information about a bitmap 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.

-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, UInt32), SetCustomAlignedBitmap(UInt32, BitmapFrame, UInt32), SetCustomAlignedBitmap(UInt32, BitmapFrame, UInt32, UInt32), PrintSavedBitmap, PosPrinterAlignment