Parameters
- stream
- The data stream containing an image.
- startPageNumber
- The number of the first page to load.
- count
- Total number of pages to load.
- options
- The loading options.
Return Value
A new instance of ImageGear.Core.ImGearDocument class.
This method provides more flexibility for loading images (i.e., the ability to load image thumbnail and specify image format explicitly). If the document size is close to 2GB, an exception of System.OutOfMemoryException will be thrown.