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)
パラメーター説明
インデックスint32_tページを挿入すべき位置。
アクティブ化bool挿入されたページをアクティブとして選択するかどうかを示すフラグ。

ReturnValue

挿入されたページ。

参照

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

index 番目の位置に、指定された widthheight のサイズの空のページをドキュメントに挿入します。

System::SharedPtr<XpsModel::XpsPage> Aspose::Page::XPS::XpsDocument::InsertPage(int32_t index, float width, float height, bool activate=true)
パラメーター説明
インデックスint32_tページを挿入すべき位置。
width単精度浮動小数点数新しいページの幅。
height単精度浮動小数点数新しいページの高さ。
アクティブ化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)
パラメーター説明
インデックスint32_tページを追加すべき位置。
pageSystem::SharedPtr<XpsModel::XpsPage>挿入する Page
アクティブ化bool挿入されたページをアクティブとして選択するかどうかを示すフラグ。

ReturnValue

挿入されたページ。

参照