SlipPrintJob.PrintCustomAlignedBitmap 方法

定义

重载

PrintCustomAlignedBitmap(BitmapFrame, UInt32, UInt32)

向打印作业添加一条指令,以打印具有指定宽度的指定位图,并在距离单据打印机站最左侧打印列的指定距离处打印指定位图。

PrintCustomAlignedBitmap(BitmapFrame, UInt32)

向打印作业添加一条指令,以在距离单据打印机站最左侧打印列的指定距离处打印指定的位图。

PrintCustomAlignedBitmap(BitmapFrame, UInt32, UInt32)

向打印作业添加一条指令,以打印具有指定宽度的指定位图,并在距离单据打印机站最左侧打印列的指定距离处打印指定位图。

public:
 virtual void PrintCustomAlignedBitmap(BitmapFrame ^ bitmap, unsigned int alignmentDistance, unsigned int width) = PrintCustomAlignedBitmap;
/// [Windows.Foundation.Metadata.Overload("PrintBitmapCustomWidthCustomAlign")]
void PrintCustomAlignedBitmap(BitmapFrame const& bitmap, uint32_t const& alignmentDistance, uint32_t const& width);
[Windows.Foundation.Metadata.Overload("PrintBitmapCustomWidthCustomAlign")]
public void PrintCustomAlignedBitmap(BitmapFrame bitmap, uint alignmentDistance, uint width);
function printCustomAlignedBitmap(bitmap, alignmentDistance, width)
Public Sub PrintCustomAlignedBitmap (bitmap As BitmapFrame, alignmentDistance As UInteger, width As UInteger)

参数

bitmap
BitmapFrame

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

alignmentDistance
UInt32

unsigned int

uint32_t

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

width
UInt32

unsigned int

uint32_t

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

实现

M:Windows.Devices.PointOfService.IReceiptOrSlipJob.PrintCustomAlignedBitmap(Windows.Graphics.Imaging.BitmapFrame,System.UInt32,System.UInt32) M:Windows.Devices.PointOfService.IReceiptOrSlipJob.PrintCustomAlignedBitmap(Windows.Graphics.Imaging.BitmapFrame,unsigned int,unsigned int) M:Windows.Devices.PointOfService.IReceiptOrSlipJob.PrintCustomAlignedBitmap(Windows.Graphics.Imaging.BitmapFrame,uint32_t,uint32_t)
属性

另请参阅

适用于

PrintCustomAlignedBitmap(BitmapFrame, UInt32)

向打印作业添加一条指令,以在距离单据打印机站最左侧打印列的指定距离处打印指定的位图。

public:
 virtual void PrintCustomAlignedBitmap(BitmapFrame ^ bitmap, unsigned int alignmentDistance) = PrintCustomAlignedBitmap;
/// [Windows.Foundation.Metadata.Overload("PrintCustomAlignedBitmap")]
void PrintCustomAlignedBitmap(BitmapFrame const& bitmap, uint32_t const& alignmentDistance);
[Windows.Foundation.Metadata.Overload("PrintCustomAlignedBitmap")]
public void PrintCustomAlignedBitmap(BitmapFrame bitmap, uint alignmentDistance);
function printCustomAlignedBitmap(bitmap, alignmentDistance)
Public Sub PrintCustomAlignedBitmap (bitmap As BitmapFrame, alignmentDistance As UInteger)

参数

bitmap
BitmapFrame

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

alignmentDistance
UInt32

unsigned int

uint32_t

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

实现

M:Windows.Devices.PointOfService.IReceiptOrSlipJob.PrintCustomAlignedBitmap(Windows.Graphics.Imaging.BitmapFrame,System.UInt32) M:Windows.Devices.PointOfService.IReceiptOrSlipJob.PrintCustomAlignedBitmap(Windows.Graphics.Imaging.BitmapFrame,unsigned int) M:Windows.Devices.PointOfService.IReceiptOrSlipJob.PrintCustomAlignedBitmap(Windows.Graphics.Imaging.BitmapFrame,uint32_t)
属性

另请参阅

适用于