PrintHolePunch 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 hole punch option.
public enum class PrintHolePunch
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class PrintHolePunch
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum PrintHolePunch
var value = Windows.Graphics.Printing.PrintHolePunch.default
Public Enum PrintHolePunch
- Inheritance
-
PrintHolePunch
- 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 hole punch option. |
NotAvailable | 1 | An unsupported hole punch option. |
PrinterCustom | 2 | A custom hole punch option that is specific to the print device. |
None | 3 | The option to indicate that hole punching is not required. |
LeftEdge | 4 | The option to indicate that hole punching required along the left edges of the sheets. |
RightEdge | 5 | The option to indicate that hole punching required along the right edges of the sheets. |
TopEdge | 6 | The option to indicate that hole punching required along the top edges of the sheets. |
BottomEdge | 7 | The option to indicate that hole punching required along the bottom edges of the sheets. |