-api-id | -api-type | -api-device-family-note |
---|---|---|
M:Windows.Devices.PointOfService.SlipPrintJob.DrawRuledLine(System.String,Windows.Devices.PointOfService.PosPrinterLineDirection,System.UInt32,Windows.Devices.PointOfService.PosPrinterLineStyle,System.UInt32) |
winrt method |
xbox |
Adds an instruction to the print job to print a drawn, ruled line on the paper of the slip printer station.
The position parameters for the ruled line. The character string for positionList differs depending on whether lineDirection specifies a horizontal ruled line or a vertical ruled line.
The direction in which to print the ruled line.
The width of the ruled line that the print should print. The unit of width is dot. If an unsupported value is specified, the best fit value for the printer is used.
The appearance of the ruled line, such as whether it is solid or broken, or single or double.
The color of the ruled line, as an integer value that is equal to the value of the cartridge constant used in the ClaimedSlipPrinter.ColorCartridge property. If an unsupported value is specified, the printing results may be unpredictable.
IReceiptOrSlipJob.DrawRuledLine, ClaimedSlipPrinter.ColorCartridge, PosPrinterLineDirection, PosPrinterLineStyle