XpsDocument.AddDocument
AddDocument(bool)
Adds an empty document with default page size.
public void AddDocument(bool activate = true)
Parameter | Type | Description |
---|---|---|
activate | Boolean | Flag indicating whether to select added document as active. |
See Also
- class XpsDocument
- namespace Aspose.Page.XPS
- assembly Aspose.Page
AddDocument(float, float, bool)
Adds an empty document with the first page dimensions width and height.
public void AddDocument(float width, float height, bool activate = true)
Parameter | Type | Description |
---|---|---|
width | Single | Width of the first page. |
height | Single | Height of the first page. |
activate | Boolean | Flag indicating whether to select added document as active. |
See Also
- class XpsDocument
- namespace Aspose.Page.XPS
- assembly Aspose.Page