ReceiptPrintJob.SetCustomAlignedBitmap Method

Definition

Overloads

SetCustomAlignedBitmap(UInt32, BitmapFrame, UInt32)

Saves information about a bitmap and the distance from the leftmost print column at which you want to print that bitmap on the receipt printer station, so that you can use the PrintSavedBitmap method to add that information to the print job later.

SetCustomAlignedBitmap(UInt32, BitmapFrame, UInt32, UInt32)

Saves information about a bitmap, along with the width and the distance from the leftmost print column that you want to use to print that bitmap on the receipt printer station, so that you can use the PrintSavedBitmap method to add that information to the print job later.

SetCustomAlignedBitmap(UInt32, BitmapFrame, UInt32)

Saves information about a bitmap and the distance from the leftmost print column at which you want to print that bitmap on the receipt printer station, so that you can use the PrintSavedBitmap method to add that information to the print job later.

public:
 virtual void SetCustomAlignedBitmap(unsigned int bitmapNumber, BitmapFrame ^ bitmap, unsigned int alignmentDistance) = SetCustomAlignedBitmap;
/// [Windows.Foundation.Metadata.Overload("SetCustomAlignedBitmap")]
void SetCustomAlignedBitmap(uint32_t const& bitmapNumber, BitmapFrame const& bitmap, uint32_t const& alignmentDistance);
[Windows.Foundation.Metadata.Overload("SetCustomAlignedBitmap")]
public void SetCustomAlignedBitmap(uint bitmapNumber, BitmapFrame bitmap, uint alignmentDistance);
function setCustomAlignedBitmap(bitmapNumber, bitmap, alignmentDistance)
Public Sub SetCustomAlignedBitmap (bitmapNumber As UInteger, bitmap As BitmapFrame, alignmentDistance 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.

alignmentDistance
UInt32

unsigned int

uint32_t

The distance from the leftmost print column to the start of the bitmap, expressed in the unit of measurement indicated by the ClaimedPosPrinter.MapMode property.

Implements

M:Windows.Devices.PointOfService.IReceiptOrSlipJob.SetCustomAlignedBitmap(System.UInt32,Windows.Graphics.Imaging.BitmapFrame,System.UInt32) M:Windows.Devices.PointOfService.IReceiptOrSlipJob.SetCustomAlignedBitmap(unsigned int,Windows.Graphics.Imaging.BitmapFrame,unsigned int) M:Windows.Devices.PointOfService.IReceiptOrSlipJob.SetCustomAlignedBitmap(uint32_t,Windows.Graphics.Imaging.BitmapFrame,uint32_t)
Attributes

See also

Applies to

SetCustomAlignedBitmap(UInt32, BitmapFrame, UInt32, UInt32)

Saves information about a bitmap, along with the width and the distance from the leftmost print column that you want to use to print that bitmap on the receipt printer station, so that you can use the PrintSavedBitmap method to add that information to the print job later.

public:
 virtual void SetCustomAlignedBitmap(unsigned int bitmapNumber, BitmapFrame ^ bitmap, unsigned int alignmentDistance, unsigned int width) = SetCustomAlignedBitmap;
/// [Windows.Foundation.Metadata.Overload("SetBitmapCustomWidthCustomAlign")]
void SetCustomAlignedBitmap(uint32_t const& bitmapNumber, BitmapFrame const& bitmap, uint32_t const& alignmentDistance, uint32_t const& width);
[Windows.Foundation.Metadata.Overload("SetBitmapCustomWidthCustomAlign")]
public void SetCustomAlignedBitmap(uint bitmapNumber, BitmapFrame bitmap, uint alignmentDistance, uint width);
function setCustomAlignedBitmap(bitmapNumber, bitmap, alignmentDistance, width)
Public Sub SetCustomAlignedBitmap (bitmapNumber As UInteger, bitmap As BitmapFrame, alignmentDistance As UInteger, 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.

alignmentDistance
UInt32

unsigned int

uint32_t

The distance from the leftmost print column to the start of the bitmap, expressed in the unit of measurement indicated by the ClaimedPosPrinter.MapMode property.

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

M:Windows.Devices.PointOfService.IReceiptOrSlipJob.SetCustomAlignedBitmap(System.UInt32,Windows.Graphics.Imaging.BitmapFrame,System.UInt32,System.UInt32) M:Windows.Devices.PointOfService.IReceiptOrSlipJob.SetCustomAlignedBitmap(unsigned int,Windows.Graphics.Imaging.BitmapFrame,unsigned int,unsigned int) M:Windows.Devices.PointOfService.IReceiptOrSlipJob.SetCustomAlignedBitmap(uint32_t,Windows.Graphics.Imaging.BitmapFrame,uint32_t,uint32_t)
Attributes

See also

Applies to