PosPrinterAlignment Enum

Definition

Describes the possible horizontal alignments of the text that a point-of-service printer prints on the page.

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
Inheritance
PosPrinterAlignment
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Center 1

Text is centered.

Left 0

Text is left-aligned.

Right 2

Text is right-aligned.

Applies to