SmartZone v8.0 - Updated
Accusoft.SmartZoneICR.Net Assembly / Accusoft.SmartZoneICRSdk Namespace / Image Class / GetPageCount Method
The data stream containing an image.




In This Topic
    GetPageCount Method (Image)
    In This Topic
    Calculates the number of pages in an image.
    Syntax
    'Declaration
     
    
    Public Shared Function GetPageCount( _
       ByVal imageStream As Stream _
    ) As Integer
    'Usage
     
    
    Dim imageStream As Stream
    Dim value As Integer
     
    value = Image.GetPageCount(imageStream)
    public static int GetPageCount( 
       Stream imageStream
    )
    public: static int GetPageCount( 
       Stream* imageStream
    ) 
    public:
    static int GetPageCount( 
       Stream^ imageStream
    ) 

    Parameters

    imageStream
    The data stream containing an image.

    Return Value

    Number of pages in the image.
    See Also