[]
        
(Showing Draft Content)

C1.Pdf.PdfPageCollection

PdfPageCollection Class

A collection of PdfPage objects that make up the document.

Inheritance
PdfPageCollection
Namespace: C1.Pdf
Assembly: C1.Pdf.dll
Syntax
public class PdfPageCollection : List<PdfPage>, IList<PdfPage>, ICollection<PdfPage>, IList, ICollection, IReadOnlyList<PdfPage>, IReadOnlyCollection<PdfPage>, IEnumerable<PdfPage>, IEnumerable

Properties

Name Description
this[int]

Gets or sets the PdfPage at a specific position in the document.

Methods

Name Description
Add()

Creates a new PdfPage and adds it to the end of the document.

Add(PdfPage)

Adds a page to the document.

Add(PaperKind)

Creates a new PdfPage with the specified size and adds it to the end of the document.

Add(SizeF)

Creates a new PdfPage with the specified size and adds it to the end of the document.

AddRange(ICollection)

Adds the elements of an ICollection to the end of the document.

Clear()

Removes all pages from the document.

Insert(int)

Creates a new page and inserts it at a specific position in the document.

Insert(int, PdfPage)

Inserts a page 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.

InsertRange(int, ICollection)

Inserts the elements of an ICollection at a specified position in the document.

Remove(PdfPage)

Removes a page from a document.

RemoveAt(int)

Removes a page at a specific position from the document.

RemoveRange(int, int)

Removes a range of pages from the document.