[]
A collection of Page objects that make up a PDF document.
public class PageCollection : Collection<Page>, IList<Page>, ICollection<Page>, IList, ICollection, IReadOnlyList<Page>, IReadOnlyCollection<Page>, IEnumerable<Page>, IEnumerable
Public Class PageCollection
Inherits Collection(Of Page)
Implements IList(Of Page), ICollection(Of Page), IList, ICollection, IReadOnlyList(Of Page), IReadOnlyCollection(Of Page), IEnumerable(Of Page), IEnumerable
Name | Description |
---|---|
Doc | Gets the GcPdfDocument object owning this PageCollection collection. |
Last | Gets the last page in the collection. |
Name | Description |
---|---|
Add() | Creates a new Page and adds it to the end of the document. |
Add(PaperKind) | Creates a new Page of the specified PaperKind and adds it to the end of the document. |
Add(SizeF) | Creates a new Page with the specified size and adds it to the end of the document. |
ClearItems() | |
ClonePage(int, int, bool, bool) | Clones a page at a specified index ( |
Insert(int) | Creates a new page and inserts it at a specific position in the document. |
Insert(int, PaperKind) | Creates a new page with the specified size and inserts it at a specific position in the document. |
Insert(int, SizeF) | Creates a new page with the specified size and inserts it at a specific position in the document. |
InsertItem(int, Page) | |
Move(int, int) | Moves a page specified by its 0-based index to another position in the collection. |
RemoveItem(int) | |
SetItem(int, Page) | |
Swap(int, int) | Swaps two pages specified by their 0-based indices. |