|  | 
| PdfDocumentGetPagesCount Method (Stream) | 
 
            Returns the number of pages in a specified pdf document.
            
 
    Namespace: 
   SelectPdf
    Assembly:
   Select.Pdf (in Select.Pdf.dll) Version: 24.1
 Syntax
Syntaxpublic static int GetPagesCount(
	Stream stream
)
Public Shared Function GetPagesCount ( 
	stream As Stream
) As Integer
Parameters
- stream
- Type: System.IOStream
 The stream containing the pdf document.
Return Value
Type: 
Int32The number of pages in the specified pdf document.
 See Also
See Also