共用方式為


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

另請參閱

適用於