Method GetPageWidth
GetPageWidth(int)
Gets the width in pixels of a specific page without decoding it.
public int GetPageWidth(int pageIndex)
Parameters
pageIndexintZero-based page index.
Returns
- int
The page width in pixels.
Exceptions
- ArgumentOutOfRangeException
Thrown when
pageIndexis out of range.- ImageLoadingException
Thrown when the page's dimensions cannot be read from its container.
- ObjectDisposedException
Thrown if this instance has been disposed.