

[DefaultMember("Item")] public class PageCollection
System.Object
Xceed.PdfLibrary.NET.PageCollection
| Name | Description | |
|---|---|---|
![]() | Count | Gets the number of Pages in the PageCollection. |
![]() | Item | Gets the Page located at a specific index in the PageCollection. |
| Name | Description | |
|---|---|---|
![]() | Add | Adds a blank Page at the end of the PageCollection. |
![]() | Clear | Removes all the Pages from the PageCollection and adds a blank Page so the document can still exist, since a PdfDocument must always contain at least one page. |
![]() | GetEnumerator | Gets the enumerator. |
![]() | IndexOf | Returns the index in this collection of the given page. |
![]() | Insert | Inserts a blank Page at a specific index in the PageCollection. |
![]() | Move | Overloaded. Moves a page from one index to another in this collection. The toIndex will clamp between 0 and this.Count. The fromIndex must be between 0 and this.Count - 1 or an error will be thrown. |
![]() | Remove | Removes a specific Page from the PageCollection. |
![]() | RemoveAt | Removes the Page located at a specific index in the PageCollection. |
.NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.
.NET Framework: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.