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: 11.5.0.5.0.230 (.NET 4.6.2, x86)
Syntaxpublic override int GetFrameCount(
Stream stream
)
Public Overrides Function GetFrameCount (
stream As Stream
) As Integer
Parameters
- 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