Aspose::Page::XPS::XpsDocument::AddPage method
Contents
[
Hide
]XpsDocument::AddPage(bool) method
Adds an empty page to the document with default page size.
System::SharedPtr<XpsModel::XpsPage> Aspose::Page::XPS::XpsDocument::AddPage(bool activate=true)
Parameter | Type | Description |
---|---|---|
activate | bool | Flag indicating whether to select added page as active. |
ReturnValue
Added page.
See Also
- Typedef SharedPtr
- Class XpsPage
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++
XpsDocument::AddPage(float, float, bool) method
Adds an empty page to the document with specified width and height .
System::SharedPtr<XpsModel::XpsPage> Aspose::Page::XPS::XpsDocument::AddPage(float width, float height, bool activate=true)
Parameter | Type | Description |
---|---|---|
width | float | Width of a new page. |
height | float | Height of a new page. |
activate | bool | Flag indicating whether to select added page as active. |
ReturnValue
Added page.
See Also
- Typedef SharedPtr
- Class XpsPage
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++
XpsDocument::AddPage(System::SharedPtr<XpsModel::XpsPage>, bool) method
Adds a page to the document.
System::SharedPtr<XpsModel::XpsPage> Aspose::Page::XPS::XpsDocument::AddPage(System::SharedPtr<XpsModel::XpsPage> page, bool activate=true)
Parameter | Type | Description |
---|---|---|
page | System::SharedPtr<XpsModel::XpsPage> | Page to be added. |
activate | bool | Flag indicating whether to select added page as active. |
ReturnValue
Added page.
See Also
- Typedef SharedPtr
- Class XpsPage
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++