Aspose::Pdf::PageCollection::Insert method

PageCollection::Insert(int32_t) method

Insert empty apge into collection at the specified position.

System::SharedPtr<Page> Aspose::Pdf::PageCollection::Insert(int32_t pageNumber)
ParameterTypeDescription
pageNumberint32_tPosition of the new page.

ReturnValue

Inserted page.

See Also

PageCollection::Insert(int32_t, System::ArrayPtr<System::SharedPtr<Page>>) method

Inserts pages of the array into document.

void Aspose::Pdf::PageCollection::Insert(int32_t pageNumber, System::ArrayPtr<System::SharedPtr<Page>> pages)
ParameterTypeDescription
pageNumberint32_tStarting number of the new pages.
pagesSystem::ArrayPtr<System::SharedPtr<Page>>Array of pages which will be inserted.

See Also

PageCollection::Insert(int32_t, System::SharedPtr<Page>) method

Inserts page into page collection at specified place.

System::SharedPtr<Page> Aspose::Pdf::PageCollection::Insert(int32_t pageNumber, System::SharedPtr<Page> entity)
ParameterTypeDescription
pageNumberint32_tRequired page index in collection.
entitySystem::SharedPtr<Page>Page to be inserted.

ReturnValue

Inserted page.

See Also

PageCollection::Insert(int32_t, System::SharedPtr<System::Collections::Generic::ICollection<System::SharedPtr<Page>>>) method

Inserts pages from the collection into document.

void Aspose::Pdf::PageCollection::Insert(int32_t pageNumber, System::SharedPtr<System::Collections::Generic::ICollection<System::SharedPtr<Page>>> pages)
ParameterTypeDescription
pageNumberint32_tStarting position of the new pages.
pagesSystem::SharedPtr<System::Collections::Generic::ICollection<System::SharedPtr<Page>>>Pages collection.

See Also