SlipPrintJob.SetPrintRotation(PosPrinterRotation, Boolean) 方法

定义

设置打印站页面上文本或图像的旋转。

public:
 virtual void SetPrintRotation(PosPrinterRotation value, bool includeBitmaps) = SetPrintRotation;
void SetPrintRotation(PosPrinterRotation const& value, bool const& includeBitmaps);
public void SetPrintRotation(PosPrinterRotation value, bool includeBitmaps);
function setPrintRotation(value, includeBitmaps)
Public Sub SetPrintRotation (value As PosPrinterRotation, includeBitmaps As Boolean)

参数

value
PosPrinterRotation

页面上文本或图像的旋转。

includeBitmaps
Boolean

bool

是否还应旋转位图。 此设置仅对 PrintBitmap 的后续调用生效,并且可能不适用于使用 PrintSavedBitmap 打印的已保存位图。

实现

M:Windows.Devices.PointOfService.IReceiptOrSlipJob.SetPrintRotation(Windows.Devices.PointOfService.PosPrinterRotation,System.Boolean) M:Windows.Devices.PointOfService.IReceiptOrSlipJob.SetPrintRotation(Windows.Devices.PointOfService.PosPrinterRotation,bool)

注解

此旋转设置在当前打印作业之外仍然存在。

适用于