Aspose::Page::XPS::XpsDocument::AddPage طريقة

XpsDocument::AddPage(bool) method

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

System::SharedPtr<XpsModel::XpsPage> Aspose::Page::XPS::XpsDocument::AddPage(bool activate=true)
ParameterTypeالوصف
تفعيلboolعلامة تشير إلى ما إذا كان يجب اختيار الصفحة المضافة كصفحة نشطة.

ReturnValue

صفحة مضافة.

انظر أيضًا

XpsDocument::AddPage(float, float, bool) method

يضيف صفحة فارغة إلى المستند بأبعاد width و height محددة.

System::SharedPtr<XpsModel::XpsPage> Aspose::Page::XPS::XpsDocument::AddPage(float width, float height, bool activate=true)
ParameterTypeالوصف
العرضعدد عائمعرض صفحة جديدة.
الارتفاععدد عائمارتفاع صفحة جديدة.
تفعيلboolعلامة تشير إلى ما إذا كان يجب اختيار الصفحة المضافة كصفحة نشطة.

ReturnValue

صفحة مضافة.

انظر أيضًا

XpsDocument::AddPage(System::SharedPtr<XpsModel::XpsPage>, bool) method

يضيف صفحة إلى المستند.

System::SharedPtr<XpsModel::XpsPage> Aspose::Page::XPS::XpsDocument::AddPage(System::SharedPtr<XpsModel::XpsPage> page, bool activate=true)
ParameterTypeالوصف
pageSystem::SharedPtr<XpsModel::XpsPage>يجب إضافة Page.
تفعيلboolعلامة تشير إلى ما إذا كان يجب اختيار الصفحة المضافة كصفحة نشطة.

ReturnValue

صفحة مضافة.

انظر أيضًا