'Declaration Public Overloads Shared Function GetPageCount( _ ByVal stream As Stream, _ ByVal formatId As ImGearFormats _ ) As Integer
'Usage Dim stream As Stream Dim formatId As ImGearFormats Dim value As Integer value = ImGearFileFormats.GetPageCount(stream, formatId)
public static int GetPageCount( Stream stream, ImGearFormats formatId )
public: static int GetPageCount( Stream* stream, ImGearFormats formatId )
public: static int GetPageCount( Stream^ stream, ImGearFormats formatId )
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.