Namespace TallComponents.PDF
Class PageCollection
Collection of pages inside a PDF document. Non-creatable. Obtained through the Pages property of Document.
Syntax
public class PageCollection
: Object
,
IEnumerable<Page>
Properties
Methods
Void Add(Page)
Add a new or existing page to end of this collection.
Void AddRange(Page[])
Adds the entries in an array of Pages to the end of the PageCollection.
Void Clear()
Removes all pages from the PageCollection.
Page[] CloneToArray()
Clones this PageCollection with default clone settings.
Page[] CloneToArray(String)
Clones this PageCollection with the default clone settings but prefix the field fullNames.
Page[] CloneToArray(PageCloneSettings)
Clones this PageCollection with the specified clone settings.
Page[] CloneToArray(PageCloneSettings,String)
Clones this PageCollection with the specified clone settings and prefix the field fullNames.
Boolean Contains(Page)
Determines whether a Page is in the PageCollection.
IEnumerator<Page> GetEnumerator()
Implements strong typed IEnumerable<T>.GetEnumerator.
Int32 IndexOf(Page)
Returns the zero-based index of the given page.
Void Insert(Int32,Page)
Insert a new or existing page in this collection at the given index.
Void InsertRange(Int32,Page[])
Insert the entries in an array of Pages to the specific locations in the PageCollection.
Void Move(Int32,Int32)
Moves an existing page to an other position.
Boolean Remove(Page)
Removes a page from the collection.
Void RemoveAt(Int32)
Removes a page from the collection.
Void RemoveRange(Int32,Int32)
Removes multiple contiguous pages from the collection.
Void RemoveRange(Page[])
Removes multiple pages from the collection.