Method ExtractPage
ExtractPage(int)
Extracts a specific page from a multipage image as an independent ImageBuffer. The currently selected page is not changed.
public ImageBuffer ExtractPage(int pageIndex)
Parameters
Returns
- ImageBuffer
A new ImageBuffer containing a deep copy of the requested page.
Exceptions
- ArgumentOutOfRangeException
Thrown when
pageIndexis out of range.- InvalidOperationException
Thrown when decoding the page fails.
- ObjectDisposedException
Thrown if this instance has been disposed.