XpsDocument.InsertPage
Contents
[
Hide
]InsertPage(int, bool)
Inserts an empty page to the document with default page size at index position.
public XpsPage InsertPage(int index, bool activate = true)
Parameter | Type | Description |
---|---|---|
index | Int32 | Position at which a page should be inserted. |
activate | Boolean | Flag indicating whether to select inserted page as active. |
Return Value
Inserted page.
See Also
- class XpsPage
- class XpsDocument
- namespace Aspose.Page.XPS
- assembly Aspose.Page
InsertPage(int, float, float, bool)
Inserts an empty page to the document with specified width and height at index position.
public XpsPage InsertPage(int index, float width, float height, bool activate = true)
Parameter | Type | Description |
---|---|---|
index | Int32 | Position at which a page should be inserted. |
width | Single | Width of a new page. |
height | Single | Height of a new page. |
activate | Boolean | Flag indicating whether to select inserted page as active. |
Return Value
Inserted page.
See Also
- class XpsPage
- class XpsDocument
- namespace Aspose.Page.XPS
- assembly Aspose.Page
InsertPage(int, XpsPage, bool)
Inserts a page to the document at index position.
public XpsPage InsertPage(int index, XpsPage page, bool activate = true)
Parameter | Type | Description |
---|---|---|
index | Int32 | Position at which a page should be added. |
page | XpsPage | Page to be inserted. |
activate | Boolean | Flag indicating whether to select inserted page as active. |
Return Value
Inserted page.
See Also
- class XpsPage
- class XpsDocument
- namespace Aspose.Page.XPS
- assembly Aspose.Page