Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- stream
- The data stream containing an image.
- formatId
- Format ID: if ImGearFormats.UNKNOWN is specified, image format is auto-detected.
Return Value
Number of pages in the image.If format ID is not ImGearFormats.UNKNOWN and image format cannot be detected, an exception is thrown.