Winnovative HTML to PDF Converter

HtmlToPdfConverterGetPageCount Method (Stream)

Winnovative HTML to PDF Converter for .NET Documentation
A fast method to obtain the page count of a PDF document from the specified stream.

Namespace:  Winnovative
Assembly:  wnvhtmltopdf (in wnvhtmltopdf.dll) Version: 17.0.0.0
Syntax

public static int GetPageCount(
	Stream pdfStream
)

Parameters

pdfStream
Type: System.IOStream
The stream containing the PDF document for which to get the page count.

Return Value

Type: Int32
The number of pages in the specified PDF document.
See Also

Reference