Method SelectPage
SelectPage(int)
Selects and decodes a specific page from a multipage image (e.g., multipage TIFF). After this call, all properties (Width, Height, Stride, Format, HorizontalResolution, VerticalResolution, Buffer) are updated to reflect the newly decoded page.
public void SelectPage(int pageIndex)
Parameters
Exceptions
- ArgumentOutOfRangeException
Thrown when
pageIndexis out of range.- InvalidOperationException
Thrown when decoding the page fails.
- ObjectDisposedException
Thrown if this instance has been disposed.