## XpsDocument::GetPagePrintTicket method


Returns the print ticket of the page indexed by *pageIndex*  in the document indexed by *documentIndex* .

```cpp
System::SharedPtr<XpsMetadata::PagePrintTicket> Aspose::Page::XPS::XpsDocument::GetPagePrintTicket(int32_t documentIndex, int32_t pageIndex)
```


| Parameter | Type | Description |
| --- | --- | --- |
| documentIndex | int32_t | Index of the document. |
| pageIndex | int32_t | Index of the page whose print ticket to return. |

### ReturnValue

[Page](../../../aspose.page/)'s print ticket.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [PagePrintTicket](../../../aspose.page.xps.xpsmetadata/pageprintticket/)
* Class [XpsDocument](../)
* Namespace [Aspose::Page::XPS](../../)
* Library [Aspose.Page for C++](../../../)
