## InsertDocument(int, bool) {#insertdocument}

Varsayılan sayfa boyutu ile boş bir belge ekler.*index* pozisyon.

```csharp
public void InsertDocument(int index, bool activate = true)
```

| Parametre | Tip | Tanım |
| --- | --- | --- |
| index | Int32 | Bir belgenin eklenmesi gereken konum. |
| activate | Boolean | Eklenen belgenin etkin olarak seçilip seçilmeyeceğini gösteren bayrak. |

### Ayrıca bakınız

* class [XpsDocument](../)
* ad alanı [Aspose.Page.XPS](../../xpsdocument/)
* toplantı [Aspose.Page](../../../)

---

## InsertDocument(int, float, float, bool) {#insertdocument_1}

İlk sayfa boyutlarına sahip boş bir belge ekler *width* Ve*height* de*index* pozisyon.

```csharp
public void InsertDocument(int index, float width, float height, bool activate = true)
```

| Parametre | Tip | Tanım |
| --- | --- | --- |
| index | Int32 | Bir belgenin eklenmesi gereken konum. |
| width | Single | İlk sayfanın genişliği. |
| height | Single | İlk sayfanın yüksekliği. |
| activate | Boolean | Eklenen belgenin etkin olarak seçilip seçilmeyeceğini gösteren bayrak. |

### Ayrıca bakınız

* class [XpsDocument](../)
* ad alanı [Aspose.Page.XPS](../../xpsdocument/)
* toplantı [Aspose.Page](../../../)


