## XpsDocument::AddDocument(bool) method


يضيف مستندًا فارغًا بحجم صفحة افتراضي.

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


| Parameter | Type | الوصف |
| --- | --- | --- |
| تفعيل | 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)
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| العرض | عدد عائم | عرض الصفحة الأولى. |
| الارتفاع | عدد عائم | ارتفاع الصفحة الأولى. |
| تفعيل | bool | علامة تشير إلى ما إذا كان يجب اختيار المستند المضاف كنشط. |

## انظر أيضًا

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