ExpertPdf PDF Creator Library
GetPageCount Method (pdfStream)
NamespacesExpertPdf.PdfCreatorDocumentGetPageCount(Stream)
ExpertPdf PDF Creator Library
A fast method to obtain the page count of a specified PDF document.
Declaration Syntax
C#Visual BasicVisual C++
public static int GetPageCount(
	Stream pdfStream
)
Public Shared Function GetPageCount ( _
	pdfStream As Stream _
) As Integer
public:
static int GetPageCount(
	Stream^ pdfStream
)
Parameters
pdfStream (Stream)
The stream containing the PDF document for which to get the page count.
Return Value
The number of pages in the specified PDF document.

Assembly: ExpertPdf.PdfCreator (Module: ExpertPdf.PdfCreator) Version: 5.0.0.0 (5.0.0.0)