SlipPrintJob.SetCustomAlignedBitmap 方法

定义

重载

SetCustomAlignedBitmap(UInt32, BitmapFrame, UInt32)

保存有关位图的信息以及要打印该位图的最左侧打印列的距离,以便以后可以使用 PrintSavedBitmap 方法将该信息添加到打印作业。

SetCustomAlignedBitmap(UInt32, BitmapFrame, UInt32, UInt32)

保存有关位图的信息,以及要用于在单据打印机站上打印该位图的最左侧打印列的宽度和距离,以便以后可以使用 PrintSavedBitmap 方法将该信息添加到打印作业。

SetCustomAlignedBitmap(UInt32, BitmapFrame, UInt32)

保存有关位图的信息以及要打印该位图的最左侧打印列的距离,以便以后可以使用 PrintSavedBitmap 方法将该信息添加到打印作业。

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)

参数

bitmapNumber
UInt32

unsigned int

uint32_t

要分配给此位图的数字。 可以设置两个位图,编号为 1 和 2。 稍后将此数字与 PrintSavedBitmap 方法一起使用,将打印指令添加到打印作业。

bitmap
BitmapFrame

有关要打印的位图的信息。

alignmentDistance
UInt32

unsigned int

uint32_t

从最左侧打印列到位图开头的距离,以 ClaimedPosPrinter.MapMode 属性指示的度量单位表示。

实现

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)
属性

另请参阅

适用于

SetCustomAlignedBitmap(UInt32, BitmapFrame, UInt32, UInt32)

保存有关位图的信息,以及要用于在单据打印机站上打印该位图的最左侧打印列的宽度和距离,以便以后可以使用 PrintSavedBitmap 方法将该信息添加到打印作业。

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)

参数

bitmapNumber
UInt32

unsigned int

uint32_t

要分配给此位图的数字。 可以设置两个位图,编号为 1 和 2。 稍后将此数字与 PrintSavedBitmap 方法一起使用,将打印指令添加到打印作业。

bitmap
BitmapFrame

有关要打印的位图的信息。

alignmentDistance
UInt32

unsigned int

uint32_t

从最左侧打印列到位图开头的距离,以 ClaimedPosPrinter.MapMode 属性指示的度量单位表示。

width
UInt32

unsigned int

uint32_t

用于打印位图的宽度,以 ClaimedPosPrinter.MapMode 属性指示的度量单位表示。

实现

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)
属性

另请参阅

适用于