SlipPrintJob.PrintBarcode(String, UInt32, UInt32, UInt32, PosPrinterBarcodeTextPosition, PosPrinterAlignment) SlipPrintJob.PrintBarcode(String, UInt32, UInt32, UInt32, PosPrinterBarcodeTextPosition, PosPrinterAlignment) SlipPrintJob.PrintBarcode(String, UInt32, UInt32, UInt32, PosPrinterBarcodeTextPosition, PosPrinterAlignment) SlipPrintJob.PrintBarcode(String, UInt32, UInt32, UInt32, PosPrinterBarcodeTextPosition, PosPrinterAlignment) SlipPrintJob.PrintBarcode(String, UInt32, UInt32, UInt32, PosPrinterBarcodeTextPosition, PosPrinterAlignment) Method

Definition

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

public : void PrintBarcode(Platform::String data, unsigned int symbology, unsigned int height, unsigned int width, PosPrinterBarcodeTextPosition textPosition, PosPrinterAlignment alignment)
void PrintBarcode(winrt::hstring data, uint32_t symbology, uint32_t height, uint32_t width, PosPrinterBarcodeTextPosition textPosition, PosPrinterAlignment alignment) const;
public void PrintBarcode(String data, UInt32 symbology, UInt32 height, UInt32 width, PosPrinterBarcodeTextPosition textPosition, PosPrinterAlignment alignment)
Public Sub PrintBarcode(data As String, symbology As UInt32, height As UInt32, width As UInt32, textPosition As PosPrinterBarcodeTextPosition, alignment As PosPrinterAlignment)
slipPrintJob.printBarcode(data, symbology, height, width, textPosition, alignment);

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.

alignment
PosPrinterAlignment PosPrinterAlignment PosPrinterAlignment

The horizontal alignment of the barcode on the page.

See also