Method RemovePages
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
RemovePages(int[])
Removes pages with specified indexes from the collection of document pages.
public void RemovePages(int[] indexes)
Parameters
indexes
int[]The array of zero-based indexes of the pages to remove.
Remarks
Splitting PDF documents is one of the use case for this method. Check the Split PDF documents in C# and VB.NET article to see the other ways to execute the use case.
RemovePages(PdfPage[])
Removes specified pages from the collection of document pages.
public void RemovePages(PdfPage[] pages)
Parameters
pages
PdfPage[]The array of pages to remove.
Remarks
Splitting PDF documents is one of the use case for this method. Check the Split PDF documents in C# and VB.NET article to see the other ways to execute the use case.
RemovePages(int)
Removes a range of pages from the collection of document pages.
public void RemovePages(int startIndex)
Parameters
startIndex
intThe zero-based starting index of pages to remove.
Remarks
The pages are removed from the page at specified starting index to the end of the collection of document pages.
Splitting PDF documents is one of the use case for this method. Check the Split PDF documents in C# and VB.NET article to see the other ways to execute the use case.
RemovePages(int, int)
Removes a range of pages from the collection of document pages.
public void RemovePages(int index, int count)
Parameters
index
intThe zero-based starting index of the range of pages to remove.
count
intThe number of pages to remove.
Remarks
Splitting PDF documents is one of the use case for this method. Check the Split PDF documents in C# and VB.NET article to see the other ways to execute the use case.