PosPrinterAlignment PosPrinterAlignment PosPrinterAlignment PosPrinterAlignment 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
enum class winrt::Windows::Devices::PointOfService::PosPrinterAlignment : int32_t
public enum PosPrinterAlignment
Public Enum PosPrinterAlignment
var value = Windows.Devices.PointOfService.PosPrinterAlignment.center;
Attributes

Windows 10 requirements

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

Fields

Center Center Center Center Center 1

Text is centered.

Left Left Left Left Left 0

Text is left-aligned.

Right Right Right Right Right 2

Text is right-aligned.