Adds the entries in an array of Pages to the end of the PageCollection.
Pages does not accept a a null reference 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 appending existing pages to a target document, the source documents need to be open until the target document.Write is called.
| Exception Type | Condition |
|---|---|
| ArgumentNullException | A given pages is a null reference. |
| ArgumentException | (At least) one of the entries in the given pages is already in this PageCollection. (Duplicate pages) |
PageCollection Class | TallComponents.PDF Namespace