SlipPrintJob.PrintBarcodeCustomAlign(String, UInt32, UInt32, UInt32, PosPrinterBarcodeTextPosition, UInt32) SlipPrintJob.PrintBarcodeCustomAlign(String, UInt32, UInt32, UInt32, PosPrinterBarcodeTextPosition, UInt32) SlipPrintJob.PrintBarcodeCustomAlign(String, UInt32, UInt32, UInt32, PosPrinterBarcodeTextPosition, UInt32) SlipPrintJob.PrintBarcodeCustomAlign(String, UInt32, UInt32, UInt32, PosPrinterBarcodeTextPosition, UInt32) SlipPrintJob.PrintBarcodeCustomAlign(String, UInt32, UInt32, UInt32, PosPrinterBarcodeTextPosition, UInt32) Method

Definition

Adds an instruction to the print job to print a barcode on the slip printer station with the specified data, symbology, and custom alignment.

public : void PrintBarcodeCustomAlign(Platform::String data, unsigned int symbology, unsigned int height, unsigned int width, PosPrinterBarcodeTextPosition textPosition, unsigned int alignmentDistance)
void PrintBarcodeCustomAlign(winrt::hstring data, uint32_t symbology, uint32_t height, uint32_t width, PosPrinterBarcodeTextPosition textPosition, uint32_t alignmentDistance) const;
public void PrintBarcodeCustomAlign(String data, UInt32 symbology, UInt32 height, UInt32 width, PosPrinterBarcodeTextPosition textPosition, UInt32 alignmentDistance)
Public Sub PrintBarcodeCustomAlign(data As String, symbology As UInt32, height As UInt32, width As UInt32, textPosition As PosPrinterBarcodeTextPosition, alignmentDistance As UInt32)
slipPrintJob.printBarcodeCustomAlign(data, symbology, height, width, textPosition, alignmentDistance);

Parameters

data
String String String

The data to represent as a barcode.

symbology
UInt32 UInt32 UInt32

The symbology (encoding) of the barcode.

height
UInt32 UInt32 UInt32

The height of the barcode, in pixels.

width
UInt32 UInt32 UInt32

The width of the barcode, in pixels.

textPosition
PosPrinterBarcodeTextPosition PosPrinterBarcodeTextPosition PosPrinterBarcodeTextPosition

The vertical position of the barcode text relative to the barcode.

alignmentDistance
UInt32 UInt32 UInt32

The distance from the leftmost print column to the start of the barcode, expressed in the unit of measurement indicated by the ClaimedPosPrinter.MapMode property.

See also