PageCollectionInsertRange Method
Insert the entries in an array of Pages to the specific locations in the PageCollection.

Namespace:  TallComponents.PDF
Assembly:  TallComponents.PDF.Kit (in TallComponents.PDF.Kit.dll) Version: 4.0.94.0
Syntax
public void InsertRange(
	int index,
	Page[] pages
)

Parameters

index
Type: SystemInt32
The zero based start index for the inserted pages.
pages
Type: TallComponents.PDFPage
The pages to be interted in the PageCollection.
Exceptions
ExceptionCondition
ArgumentNullExceptionA given pages is .
ArgumentException(At least) one of the entries in the given pages is already in this PageCollection. (Duplicate pages)
Remarks

Pages does not accept a as a valid value.

PageCollection does not accept duplicate elements. Note: When a duplicate entry is found the state of the collection is undefined. (None or some entries might have been added. The status is not reverted.)

While interting existing pages to a target document, the source documents need to be open until the target document.Write is called.

See Also