
## DocumentHolePunch class

Describes the hole punching characteristics of the output. Each document is punched separately.<br/>            The [JobHolePunch](/page/python-net/aspose.page.xps.xpsmetadata/jobholepunch/) and [DocumentHolePunch](/page/python-net/aspose.page.xps.xpsmetadata/documentholepunch/) keywords are mutually exclusive.<br/>            Both should not be specified simultaneously in a PrintTicket or Print Capabilities document.<br/>            https://docs.microsoft.com/en-us/windows/win32/printdocs/documentholepunch

**Inheritance:** `DocumentHolePunch` → [`HolePunch`](/page/python-net/aspose.page.xps.xpsmetadata/holepunch) → [`Feature`](/page/python-net/aspose.page.xps.xpsmetadata/feature) → [`CompositePrintTicketElement`](/page/python-net/aspose.page.xps.xpsmetadata/compositeprintticketelement) → [`PrintTicketElement`](/page/python-net/aspose.page.xps.xpsmetadata/printticketelement)

The DocumentHolePunch type exposes the following members:
## Constructors
| Name | Description |
| :- | :- |
| `DocumentHolePunch(options)` | Initializes a new instance of the DocumentHolePunch class |
## Properties
| Name | Description |
| :- | :- |
| `name` | Gets the element name. |
## Methods
| Name | Description |
| :- | :- |
| `add(items)` | Adds a list of items to the end of this feature's item list. <br/>            Each one must be a [Feature](/page/python-net/aspose.page.xps.xpsmetadata/feature/), an [Option](/page/python-net/aspose.page.xps.xpsmetadata/option/), or a [Property](/page/python-net/aspose.page.xps.xpsmetadata/property/) instance. |

### See Also

* module [`aspose.page.xps.xpsmetadata`](/page/python-net/aspose.page.xps.xpsmetadata/)
* package [`aspose.page`](/page/python-net/)

