ImageGear for Java
getPageCount(ImGearStream,ImGearFormats,ImGearLoadOptions) Method
The data stream containing an image.
Format ID: if ImGearFormats.UNKNOWN is specified, image format is auto-detected.
The loading options.
Calculates the number of pages in an image.

If format ID is not ImGearFormats.UNKNOWN and image format cannot be detected, an exception is thrown.

ImGearFormatsImGearLoadOptions

Syntax

Parameters

stream
The data stream containing an image.
formatId
Format ID: if ImGearFormats.UNKNOWN is specified, image format is auto-detected.
options
The loading options.

Return Value

Number of pages in the image.
See Also

Reference

ImGearFileFormats Class
ImGearFileFormats Members
Overload List

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback