PosPrinterAlignment Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Name | Value | Description |
---|---|---|
Left | 0 | Text is left-aligned. |
Center | 1 | Text is centered. |
Right | 2 | Text is right-aligned. |