Click or drag to resize

PdfDecoderGetFrameCount Method

Returns the number of pages in a PDF document.

Namespace:  Atalasoft.Imaging.Codec.Pdf
Assembly:  Atalasoft.dotImage.PdfReader (in Atalasoft.dotImage.PdfReader.dll) Version: (.NET 4.5.2, x86)
public override int GetFrameCount(
	Stream stream


Type: System.IOStream
The Stream that holds the PDF document. It is assumed that the Stream position points is at the start of the PDF document.

Return Value

Type: Int32
Number of pages.
See Also