Click or drag to resize

DocumentGetPageCount(Stream) Method

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

Namespace: ExpertPdf.HtmlToPdf.PdfDocument
Assembly: ephtmltopdf (in ephtmltopdf.dll) Version: 21.1.0
Syntax
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