XpsDocument.AddPage
Contents
[
Hide
]AddPage(bool)
Adds an empty page to the document with default page size.
public XpsPage AddPage(bool activate = true)
Parameter | Type | Description |
---|---|---|
activate | Boolean | Flag indicating whether to select added page as active. |
Return Value
Added page.
See Also
- class XpsPage
- class XpsDocument
- namespace Aspose.Page.XPS
- assembly Aspose.Page
AddPage(float, float, bool)
Adds an empty page to the document with specified width and height.
public XpsPage AddPage(float width, float height, bool activate = true)
Parameter | Type | Description |
---|---|---|
width | Single | Width of a new page. |
height | Single | Height of a new page. |
activate | Boolean | Flag indicating whether to select added page as active. |
Return Value
Added page.
See Also
- class XpsPage
- class XpsDocument
- namespace Aspose.Page.XPS
- assembly Aspose.Page
AddPage(XpsPage, bool)
Adds a page to the document.
public XpsPage AddPage(XpsPage page, bool activate = true)
Parameter | Type | Description |
---|---|---|
page | XpsPage | Page to be added. |
activate | Boolean | Flag indicating whether to select added page as active. |
Return Value
Added page.
See Also
- class XpsPage
- class XpsDocument
- namespace Aspose.Page.XPS
- assembly Aspose.Page