---
title: "Aspose::Page::XPS::XpsMetadata::DocumentPrintTicket::Add method"
url: "https://reference.aspose.com/page/cpp/aspose.page.xps.xpsmetadata/documentprintticket/add/"
product: "Aspose.Page for C++"
description: "Aspose::Page::XPS::XpsMetadata::DocumentPrintTicket::Add method. Adds an array of items to the end of this PrintTicket item list. Each one may be a Feature, an Option or a Property instance in C++."
---

## DocumentPrintTicket::Add method


Adds an array of items to the end of this [PrintTicket](../../printticket/) item list. Each one may be a [Feature](../../feature/), an [Option](../../option/) or a [Property](../../property/) instance.

```cpp
void Aspose::Page::XPS::XpsMetadata::DocumentPrintTicket::Add(const System::ArrayPtr<System::SharedPtr<IDocumentPrintTicketItem>> &items)
```


| Parameter | Type | Description |
| --- | --- | --- |
| items | const System::ArrayPtr\<System::SharedPtr\<IDocumentPrintTicketItem\>\>\& | An array of items to add. |

## See Also

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [IDocumentPrintTicketItem](../../idocumentprintticketitem/)
* Class [DocumentPrintTicket](../)
* Namespace [Aspose::Page::XPS::XpsMetadata](../../)
* Library [Aspose.Page for C++](../../../)
