ReceiptPrintJob.PrintCustomAlignedBitmap 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
PrintCustomAlignedBitmap(BitmapFrame, UInt32) |
將指令新增至列印工作,以在收據印表機站上最左邊列印資料行的指定距離列印指定的點陣圖。 |
PrintCustomAlignedBitmap(BitmapFrame, UInt32, UInt32) |
將指令新增至列印工作,以列印具有指定寬度的指定點陣圖,以及在收據印表機站上最左邊列印資料行的指定距離。 |
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)
- 屬性
另請參閱
- PrintCustomAlignedBitmap(BitmapFrame, UInt32, UInt32)
- PrintBitmap(BitmapFrame, PosPrinterAlignment)
- PrintBitmap(BitmapFrame, PosPrinterAlignment, UInt32)
- MapMode
適用於
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
用於列印點陣圖的寬度,以 ClaimedPosPriinter.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)
- PrintBitmap(BitmapFrame, PosPrinterAlignment)
- PrintBitmap(BitmapFrame, PosPrinterAlignment, UInt32)
- MapMode