DocumentGetPageCount(Stream) Method |
A fast method to obtain the page count of a specified PDF document.
Namespace: ExpertPdf.HtmlToPdf.PdfDocumentAssembly: ephtmltopdf (in ephtmltopdf.dll) Version: 21.1.0
Syntaxpublic static int GetPageCount(
Stream pdfStream
)
Public Shared Function GetPageCount (
pdfStream As Stream
) As Integer
Parameters
- pdfStream Stream
- The stream containing the PDF document for which to get the page count.
Return Value
Int32The number of pages in the specified PDF document.
See Also