HtmlToPdfConverterGetPageCount(Stream) Method

A fast method to obtain the page count of a PDF document from the specified stream.

Definition

Namespace: Winnovative
Assembly: WnvHtmlToPdf_NetCore (in WnvHtmlToPdf_NetCore.dll) Version: 18.0.0
C#
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.

See Also