## XpsDocument::InsertDocument(int32_t, bool) method


Fügt ein leeres Dokument mit Standardseitengröße an der Position *index* ein.

```cpp
void Aspose::Page::XPS::XpsDocument::InsertDocument(int32_t index, bool activate=true)
```


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| Index | int32_t | Position, an der ein Dokument eingefügt werden soll. |
| aktivieren | bool | Flag, das angibt, ob das eingefügte Dokument als aktiv ausgewählt werden soll. |

## Siehe auch

* Class [XpsDocument](../)
* Namespace [Aspose::Page::XPS](../../)
* Library [Aspose.Page for C++](../../../)
## XpsDocument::InsertDocument(int32_t, float, float, bool) method


Fügt ein leeres Dokument mit den Abmessungen der ersten Seite *width* und *height* an der Position *index* ein.

```cpp
void Aspose::Page::XPS::XpsDocument::InsertDocument(int32_t index, float width, float height, bool activate=true)
```


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| Index | int32_t | Position, an der ein Dokument eingefügt werden soll. |
| width | float | Breite der ersten Seite. |
| height | float | Höhe der ersten Seite. |
| aktivieren | bool | Flag, das angibt, ob das eingefügte Dokument als aktiv ausgewählt werden soll. |

## Siehe auch

* Class [XpsDocument](../)
* Namespace [Aspose::Page::XPS](../../)
* Library [Aspose.Page for C++](../../../)
