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.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public 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