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

另請參閱

適用於