ImageGear for Java
loadDocument Method
Loads a range of pages from an image.

This method allows you to load several pages in a single call and get access to the document level metadata of an image. It is recommended to use this method when working with PDF format since pages inside a PDF file depend on each other, and thus, loading them at once (as a document) is preferable to loading pages individually. If the format of an image cannot be detected, an exception is thrown.

Overload List
OverloadDescription
loadDocument(ImGearStream,int,int)Loads a range of pages from an image.

This method allows you to load several pages in a single call and get access to the document level metadata of an image. It is recommended to use this method when working with PDF format since pages inside a PDF file depend on each other, and thus, loading them at once (as a document) is preferable to loading pages individually. If the format of an image cannot be detected, an exception is thrown.

 
loadDocument(ImGearStream,int,int,ImGearLoadOptions)Loads a range of pages from an image.

This method allows you to load several pages in a single call and get access to the document level metadata of an image. It is recommended to use this method when working with PDF format since pages inside a PDF file depend on each other, and thus, loading them at once (as a document) is preferable to loading pages individually. If the format of an image cannot be detected, an exception is thrown.

This method provides more flexibility for loading images (i.e., the ability to load image thumbnail and specify image format explicitly).

ImGearLoadOptionscom.accusoft.imagegear.core.ImGearDocument

 
See Also

Reference

ImGearFileFormats Class
ImGearFileFormats Members

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback