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

XpsDocument::InsertPage(int32_t, bool) method

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

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

ReturnValue

الصفحة المُدخلة.

انظر أيضًا

XpsDocument::InsertPage(int32_t, float, float, bool) method

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

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

ReturnValue

الصفحة المُدخلة.

انظر أيضًا

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

يدرج صفحة إلى المستند في موضع index .

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

ReturnValue

الصفحة المُدخلة.

انظر أيضًا