Share via


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

public:
 void SetCustomAlignedBitmap(unsigned int bitmapNumber, BitmapFrame ^ bitmap, unsigned int alignmentDistance);
/// [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.

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

public:
 void SetCustomAlignedBitmap(unsigned int bitmapNumber, BitmapFrame ^ bitmap, unsigned int alignmentDistance, unsigned int width);
/// [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.

Attributes

See also

Applies to