ExpertPdf Html to Pdf Converter Library
GetPageCount Method (pdfStream)
NamespacesExpertPdf.HtmlToPdfPdfConverterGetPageCount(Stream)
ExpertPdf Html to Pdf Converter 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
Int32
The number of pages in the specified PDF document.

Assembly: ExpertPdf.HtmlToPdf (Module: ExpertPdf.HtmlToPdf.dll) Version: 9.2.0.25824 (9.2.0.0)