共用方式為


PosPrinterAlignment 列舉

定義

描述在頁面上列印服務點印表機之文字的可能水準對齊方式。

public enum class PosPrinterAlignment
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class PosPrinterAlignment
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum PosPrinterAlignment
var value = Windows.Devices.PointOfService.PosPrinterAlignment.left
Public Enum PosPrinterAlignment
繼承
PosPrinterAlignment
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

欄位

Center 1

文字置中。

Left 0

文字靠左對齊。

Right 2

文字靠右對齊。

適用於