PdfDocumentRemovePage Method

Removes a page from the PDF at the given index.

Namespace:  IronPdf
Assembly:  IronPdf (in IronPdf.dll) Version: 2020.10.3
Syntax
public PdfDocument RemovePage(
	int PageIndex
)

Parameters

PageIndex
Type: SystemInt32
Index of the page. Note: Page 1 has index 0...

Return Value

Type: PdfDocument
Returns this PdfDocument object, allowing for a 'fluent' (LINQ like) chained in-line code style
See Also
Download DLL or Install with Nuget