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