A fast method to obtain the page count of a PDF document from the specified stream.
Namespace: Winnovative.ExcelToPdf
Assembly: wnvexceltopdf (in wnvexceltopdf.dll) Version: 10.0.0.0
Syntax
Parameters
- pdfStream
- Type: System.IOStream
The stream containing the PDF document for which to get the page count.
Return Value
Type: Int32The number of pages in the specified PDF document.
See Also