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


*index* 위치에 기본 페이지 크기의 빈 문서를 삽입합니다.

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


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| index | int32_t | 문서를 삽입할 위치. |
| 활성화 | bool | 삽입된 문서를 활성 문서로 선택할지 여부를 나타내는 플래그. |

## 또 보기

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


*index* 위치에 첫 페이지 크기 *width* 와 *height* 로 빈 문서를 삽입합니다.

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


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| index | int32_t | 문서를 삽입할 위치. |
| width | float | 첫 번째 페이지의 너비. |
| height | float | 첫 번째 페이지의 높이. |
| 활성화 | bool | 삽입된 문서를 활성 문서로 선택할지 여부를 나타내는 플래그. |

## 또 보기

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