## XpsDocument::AddDocument(bool) method


기본 페이지 크기로 빈 문서를 추가합니다.

```cpp
void Aspose::Page::XPS::XpsDocument::AddDocument(bool activate=true)
```


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

## 또 보기

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


첫 페이지의 *width* 및 *height* 차원으로 빈 문서를 추가합니다.

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


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

## 또 보기

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