SlipPrintJob.SetBitmap Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetBitmap(UInt32, BitmapFrame, PosPrinterAlignment) |
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. |
SetBitmap(UInt32, BitmapFrame, PosPrinterAlignment, UInt32) |
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. |
SetBitmap(UInt32, BitmapFrame, PosPrinterAlignment)
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.
public:
virtual void SetBitmap(unsigned int bitmapNumber, BitmapFrame ^ bitmap, PosPrinterAlignment alignment) = SetBitmap;
/// [Windows.Foundation.Metadata.Overload("SetBitmap")]
void SetBitmap(uint32_t const& bitmapNumber, BitmapFrame const& bitmap, PosPrinterAlignment const& alignment);
[Windows.Foundation.Metadata.Overload("SetBitmap")]
public void SetBitmap(uint bitmapNumber, BitmapFrame bitmap, PosPrinterAlignment alignment);
function setBitmap(bitmapNumber, bitmap, alignment)
Public Sub SetBitmap (bitmapNumber As UInteger, bitmap As BitmapFrame, alignment As PosPrinterAlignment)
Parameters
- bitmapNumber
-
UInt32
unsigned int
uint32_t
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.
- bitmap
- BitmapFrame
Information about the bitmap that you want to print.
- alignment
- PosPrinterAlignment
An enumeration value that specifies a standard horizontal placement on the page for the bitmap, such as left-aligned, centered, or right-aligned.
Implements
- Attributes
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.
See also
- SetBitmap(UInt32, BitmapFrame, PosPrinterAlignment, UInt32)
- SetCustomAlignedBitmap(UInt32, BitmapFrame, UInt32)
- SetCustomAlignedBitmap(UInt32, BitmapFrame, UInt32, UInt32)
- PrintSavedBitmap(UInt32)
- PosPrinterAlignment
Applies to
SetBitmap(UInt32, BitmapFrame, PosPrinterAlignment, UInt32)
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.
public:
virtual void SetBitmap(unsigned int bitmapNumber, BitmapFrame ^ bitmap, PosPrinterAlignment alignment, unsigned int width) = SetBitmap;
/// [Windows.Foundation.Metadata.Overload("SetBitmapCustomWidthStandardAlign")]
void SetBitmap(uint32_t const& bitmapNumber, BitmapFrame const& bitmap, PosPrinterAlignment const& alignment, uint32_t const& width);
[Windows.Foundation.Metadata.Overload("SetBitmapCustomWidthStandardAlign")]
public void SetBitmap(uint bitmapNumber, BitmapFrame bitmap, PosPrinterAlignment alignment, uint width);
function setBitmap(bitmapNumber, bitmap, alignment, width)
Public Sub SetBitmap (bitmapNumber As UInteger, bitmap As BitmapFrame, alignment As PosPrinterAlignment, width As UInteger)
Parameters
- bitmapNumber
-
UInt32
unsigned int
uint32_t
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.
- bitmap
- BitmapFrame
Information about the bitmap that you want to print.
- alignment
- PosPrinterAlignment
An enumeration value that specifies a standard horizontal placement on the page for the bitmap, such as left-aligned, centered, or right-aligned.
- width
-
UInt32
unsigned int
uint32_t
The width to use for printing the bitmap, expressed in the unit of measurement indicated by the ClaimedPosPrinter.MapMode property.
Implements
- Attributes
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.
See also
- SetBitmap(UInt32, BitmapFrame, PosPrinterAlignment)
- SetCustomAlignedBitmap(UInt32, BitmapFrame, UInt32)
- SetCustomAlignedBitmap(UInt32, BitmapFrame, UInt32, UInt32)
- PrintSavedBitmap(UInt32)
- MapMode
- PosPrinterAlignment