PrintOrientation 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.
Specifies the orientation options for the printed output.
public enum class PrintOrientation
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class PrintOrientation
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum PrintOrientation
var value = Windows.Graphics.Printing.PrintOrientation.default
Public Enum PrintOrientation
- Inheritance
-
PrintOrientation
- 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 |
---|---|---|
Default | 0 | The default orientation option. |
NotAvailable | 1 | An orientaiton option that is not available with the application or one that is not supported by the print device. |
PrinterCustom | 2 | A custom orientation that is specific to the print device. |
Portrait | 3 | The Portrait orientation option. |
PortraitFlipped | 4 | The PortraitFlipped orientation option. |
Landscape | 5 | The Landscape orientation option. |
LandscapeFlipped | 6 | The LandscapeFlipped orientation option. |